You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: electron-app/scripts/package.js
+5-1
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,9 @@ async function run() {
21
21
electronVersion.slice(1),// removes the leading ^ from the version. TODO: user `semver` to clean it.
22
22
'-c.extraMetadata.version',
23
23
version,
24
+
// overrides the `name` in the `package.json` to keep the `localStorage` location. (https://github.com/arduino/arduino-ide/pull/2144#pullrequestreview-1554005028)
24
25
'-c.extraMetadata.name',
25
-
'arduino-ide',// overrides the `name` in the `package.json` to keep the `localStorage` location. (https://github.com/arduino/arduino-ide/pull/2144#pullrequestreview-1554005028)
// when running in development mode, the main entry is a JS module generated by Theia. In the final application it's a custom module with the file logger.
* Creates webpack plugins to copy all required resources (binaries, plotter app, translation files, etc.) to the appropriate location.
61
+
* @param {string} targetPath where to copy the resources
62
+
* @param {boolean|undefined} [patchTheia12780=true] to apply patch for https://github.com/eclipse-theia/theia/issues/12780. Only required in the production app.
63
+
* @param {string|undefined} [baseDir=__dirname] to calculate the modules from. Defaults to `__dirname`
// Copy all the IDE2 binaries and the plotter web app.
122
33
// XXX: For whatever reason it is important to use `unshift` instead of `push`, and execute the additional webpack plugins before the Theia contributed ones kick in. Otherwise ours do not work.
0 commit comments