Skip to content

Commit e506b6f

Browse files
author
Akos Kitta
committed
fix: force 'arduino-ide' technical name
override the `name` property for the packaging time Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
1 parent 06113b6 commit e506b6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

electron-app/scripts/package.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ async function run() {
1818
electronVersion.slice(1), // removes the leading ^ from the version. TODO: user `semver` to clean it.
1919
'-c.extraMetadata.version',
2020
version,
21+
'-c.extraMetadata.name',
22+
'arduino-ide', // overrides the `name` in the `package.json` to keep the `localStorage` location. (https://github.com/arduino/arduino-ide/pull/2144#pullrequestreview-1554005028)
2123
`-c.${platform}.artifactName`,
2224
artifactName,
2325
'-c.extraMetadata.theia.frontend.config.buildDate',

0 commit comments

Comments
 (0)