From b8647f16ad61bac7a9ed0e509de0a339435c3a4c Mon Sep 17 00:00:00 2001 From: Akos Kitta Date: Mon, 8 Feb 2021 14:06:42 +0100 Subject: [PATCH] Renamed the application. Updated links and version Signed-off-by: Akos Kitta --- .github/workflows/build.yml | 12 +++--- .vscode/tasks.json | 22 +++++----- README.md | 42 +++++++++---------- arduino-debugger-extension/package.json | 4 +- arduino-ide-extension/README.md | 2 +- arduino-ide-extension/package.json | 4 +- .../browser/arduino-frontend-contribution.tsx | 2 +- .../src/browser/boards/boards-data-store.ts | 2 +- .../theia/core/electron-main-menu-factory.ts | 2 +- .../src/node/sketches-service-impl.ts | 2 +- browser-app/package.json | 10 ++--- electron-app/package.json | 10 ++--- electron/README.md | 4 +- electron/build/patch/main.js | 4 +- ...n-main.js => arduino-ide-electron-main.js} | 0 electron/build/template-package.json | 8 ++-- electron/packager/config.js | 6 +-- electron/packager/index.js | 6 +-- electron/packager/package.json | 2 +- package.json | 4 +- scripts/update-version.js | 2 +- 21 files changed, 74 insertions(+), 76 deletions(-) rename electron/build/scripts/{arduino-pro-ide-electron-main.js => arduino-ide-electron-main.js} (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1dde3ac4..5d7a186c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Arduino Pro IDE +name: Arduino IDE on: push: @@ -22,7 +22,6 @@ jobs: - os: windows-latest - os: ubuntu-latest - os: macos-latest - # - os: rsora-rpi-arm # self-hosted armhf runs-on: ${{ matrix.config.os }} timeout-minutes: 90 @@ -98,7 +97,7 @@ jobs: if [ "$IS_RELEASE" = true ]; then export BODY=$(echo -e "$GIT_LOG") else - export LATEST_TAG_WITH_LINK=$(echo "[$LATEST_TAG](https://github.com/arduino/arduino-pro-ide/releases/tag/$LATEST_TAG)") + export LATEST_TAG_WITH_LINK=$(echo "[$LATEST_TAG](https://github.com/arduino/arduino-ide/releases/tag/$LATEST_TAG)") if [ -z "$GIT_LOG" ]; then export BODY="There were no changes since version $LATEST_TAG_WITH_LINK." else @@ -135,7 +134,7 @@ jobs: env: PLUGIN_SOURCE: "build-artifacts/*" PLUGIN_STRIP_PREFIX: "build-artifacts/" - PLUGIN_TARGET: "/arduino-pro-ide/nightly" + PLUGIN_TARGET: "/arduino-ide/nightly" PLUGIN_BUCKET: ${{ secrets.DOWNLOADS_BUCKET }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -159,8 +158,7 @@ jobs: - name: Publish Release [GitHub] uses: svenstaro/upload-release-action@2.2.0 with: - repo_token: ${{ secrets.RELEASE_TOKEN }} - repo_name: arduino/arduino-pro-ide + repo_token: ${{ secrets.GITHUB_TOKEN }} release_name: ${{ steps.tag_name.outputs.TAG_NAME }} file: build-artifacts/* tag: ${{ github.ref }} @@ -172,7 +170,7 @@ jobs: env: PLUGIN_SOURCE: "build-artifacts/*" PLUGIN_STRIP_PREFIX: "build-artifacts/" - PLUGIN_TARGET: "/arduino-pro-ide" + PLUGIN_TARGET: "/arduino-ide" PLUGIN_BUCKET: ${{ secrets.DOWNLOADS_BUCKET }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9c365027..d9a87c6f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,7 +4,7 @@ "version": "2.0.0", "tasks": [ { - "label": "Arduino Pro IDE - Rebuild Electron App", + "label": "Arduino IDE - Rebuild Electron App", "type": "shell", "command": "yarn rebuild:browser && yarn rebuild:electron", "group": "build", @@ -15,7 +15,7 @@ } }, { - "label": "Arduino Pro IDE - Start Browser App", + "label": "Arduino IDE - Start Browser App", "type": "shell", "command": "yarn --cwd ./browser-app start", "group": "build", @@ -26,7 +26,7 @@ } }, { - "label": "Arduino Pro IDE - Watch IDE Extension", + "label": "Arduino IDE - Watch IDE Extension", "type": "shell", "command": "yarn --cwd ./arduino-ide-extension watch", "group": "build", @@ -37,7 +37,7 @@ } } { - "label": "Arduino Pro IDE - Watch Browser App", + "label": "Arduino IDE - Watch Browser App", "type": "shell", "command": "yarn --cwd ./browser-app watch", "group": "build", @@ -48,7 +48,7 @@ } }, { - "label": "Arduino Pro IDE - Watch Electron App", + "label": "Arduino IDE - Watch Electron App", "type": "shell", "command": "yarn --cwd ./electron-app watch", "group": "build", @@ -59,19 +59,19 @@ } }, { - "label": "Arduino Pro IDE - Watch All [Browser]", + "label": "Arduino IDE - Watch All [Browser]", "type": "shell", "dependsOn": [ - "Arduino Pro IDE - Watch IDE Extension", - "Arduino Pro IDE - Watch Browser App" + "Arduino IDE - Watch IDE Extension", + "Arduino IDE - Watch Browser App" ] }, { - "label": "Arduino Pro IDE - Watch All [Electron]", + "label": "Arduino IDE - Watch All [Electron]", "type": "shell", "dependsOn": [ - "Arduino Pro IDE - Watch IDE Extension", - "Arduino Pro IDE - Watch Electron App" + "Arduino IDE - Watch IDE Extension", + "Arduino IDE - Watch Electron App" ] } ] diff --git a/README.md b/README.md index 9ef975b3..34ab360b 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# Arduino Pro IDE +# Arduino IDE -[![Arduino Pro IDE](https://github.com/bcmi-labs/arduino-editor/workflows/Arduino%20Pro%20IDE/badge.svg)](https://github.com/bcmi-labs/arduino-editor/actions?query=workflow%3A%22Arduino+Pro+IDE%22) +[![Arduino IDE](https://github.com/bcmi-labs/arduino-editor/workflows/Arduino%20Pro%20IDE/badge.svg)](https://github.com/bcmi-labs/arduino-editor/actions?query=workflow%3A%22Arduino+Pro+IDE%22) ### Download -You can download the latest version of the Arduino Pro IDE application for the supported platforms from the [GitHub release page](https://github.com/arduino/arduino-pro-ide/releases) or following the links in the following table. +You can download the latest version of the Arduino IDE application for the supported platforms from the [GitHub release page](https://github.com/arduino/arduino-ide/releases) or following the links in the following table. #### Latest version @@ -15,16 +15,16 @@ Linux ARM | [🚧 Work in progress...] | [🚧 Work in progress...] Windows | | [Windows 64 bit installer]
[Windows 64 bit MSI]
[Windows 64 bit ZIP] | macOS | | [macOS 64 bit] | -[🚧 Work in progress...]: https://github.com/arduino/arduino-pro-ide/issues/287 -[Linux 64 bit]: https://downloads.arduino.cc/arduino-pro-ide/arduino-pro-ide_latest_Linux_64bit.zip -[Windows 64 bit installer]: https://downloads.arduino.cc/arduino-pro-ide/arduino-pro-ide_latest_Windows_64bit.exe -[Windows 64 bit MSI]: https://downloads.arduino.cc/arduino-pro-ide/arduino-pro-ide_latest_Windows_64bit.msi -[Windows 64 bit ZIP]: https://downloads.arduino.cc/arduino-pro-ide/arduino-pro-ide_latest_Windows_64bit.zip -[macOS 64 bit]: https://downloads.arduino.cc/arduino-pro-ide/arduino-pro-ide_latest_macOS_64bit.dmg +[🚧 Work in progress...]: https://github.com/arduino/arduino-ide/issues/287 +[Linux 64 bit]: https://downloads.arduino.cc/arduino-ide/arduino-ide_latest_Linux_64bit.zip +[Windows 64 bit installer]: https://downloads.arduino.cc/arduino-ide/arduino-ide_latest_Windows_64bit.exe +[Windows 64 bit MSI]: https://downloads.arduino.cc/arduino-ide/arduino-ide_latest_Windows_64bit.msi +[Windows 64 bit ZIP]: https://downloads.arduino.cc/arduino-ide/arduino-ide_latest_Windows_64bit.zip +[macOS 64 bit]: https://downloads.arduino.cc/arduino-ide/arduino-ide_latest_macOS_64bit.dmg #### Previous versions -These are available from the [GitHub releases page](https://github.com/arduino/arduino-pro-ide/releases). +These are available from the [GitHub releases page](https://github.com/arduino/arduino-ide/releases). #### Nightly builds @@ -39,12 +39,12 @@ Linux ARM | [🚧 Work in progress...] | [🚧 Work in progress...] Windows | | [Nightly Windows 64 bit installer]
[Nightly Windows 64 bit MSI]
[Nightly Windows 64 bit ZIP] | macOS | | [Nightly macOS 64 bit] | -[🚧 Work in progress...]: https://github.com/arduino/arduino-pro-ide/issues/287 -[Nightly Linux 64 bit]: https://downloads.arduino.cc/arduino-pro-ide/nightly/arduino-pro-ide_nightly-latest_Linux_64bit.zip -[Nightly Windows 64 bit installer]: https://downloads.arduino.cc/arduino-pro-ide/nightly/arduino-pro-ide_nightly-latest_Windows_64bit.exe -[Nightly Windows 64 bit MSI]: https://downloads.arduino.cc/arduino-pro-ide/nightly/arduino-pro-ide_nightly-latest_Windows_64bit.msi -[Nightly Windows 64 bit ZIP]: https://downloads.arduino.cc/arduino-pro-ide/nightly/arduino-pro-ide_nightly-latest_Windows_64bit.zip -[Nightly macOS 64 bit]: https://downloads.arduino.cc/arduino-pro-ide/nightly/arduino-pro-ide_nightly-latest_macOS_64bit.dmg +[🚧 Work in progress...]: https://github.com/arduino/arduino-ide/issues/287 +[Nightly Linux 64 bit]: https://downloads.arduino.cc/arduino-ide/nightly/arduino-ide_nightly-latest_Linux_64bit.zip +[Nightly Windows 64 bit installer]: https://downloads.arduino.cc/arduino-ide/nightly/arduino-ide_nightly-latest_Windows_64bit.exe +[Nightly Windows 64 bit MSI]: https://downloads.arduino.cc/arduino-ide/nightly/arduino-ide_nightly-latest_Windows_64bit.msi +[Nightly Windows 64 bit ZIP]: https://downloads.arduino.cc/arduino-ide/nightly/arduino-ide_nightly-latest_Windows_64bit.zip +[Nightly macOS 64 bit]: https://downloads.arduino.cc/arduino-ide/nightly/arduino-ide_nightly-latest_macOS_64bit.dmg > These links return an HTTP `302: Found` response, redirecting to latest generated builds by replacing `latest` with the latest available build @@ -54,7 +54,7 @@ macOS | | [Nightly macOS 64 bit] ### Build from source If you’re familiar with TypeScript, the [Theia IDE](https://theia-ide.org/), and if you want to contribute to the -project, you should be able to build the Arduino Pro IDE locally. Please refer to the [Theia IDE prerequisites](https://github.com/theia-ide/theia/blob/master/doc/) documentation for the setup instructions. +project, you should be able to build the Arduino IDE locally. Please refer to the [Theia IDE prerequisites](https://github.com/theia-ide/theia/blob/master/doc/) documentation for the setup instructions. ### Build ```sh @@ -114,7 +114,7 @@ git add . \ git tag -a 0.2.0 -m "0.2.0" \ && git push origin 0.2.0 ``` - - The release build starts automatically and uploads the artifacts with the changelog to the Pro IDE [release page](https://github.com/arduino/arduino-pro-ide/releases). + - The release build starts automatically and uploads the artifacts with the changelog to the Pro IDE [release page](https://github.com/arduino/arduino-ide/releases). - If you do not want to release the `EXE` and `MSI` installers, wipe them manually. - If you do not like the generated changelog, modify it and update the GH release. @@ -126,9 +126,9 @@ git tag -a 0.2.0 -m "0.2.0" \ - Q: I have understood that not all versions of the CLI is compatible with my version of IDE but how can I manually update the `arduino-cli` inside the IDE? - A: [Get](https://arduino.github.io/arduino-cli/installation) the desired version of `arduino-cli` for your platform and manually replace the one inside the IDE. The CLI can be found inside the IDE at: - - Windows: `C:\path\to\Arduino Pro IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe`, - - macOS: `/path/to/Arduino Pro IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-cli`, and - - Linux: `/path/to/Arduino Pro IDE/resources/app/node_modules/arduino-ide-extension/build/arduino-cli`. + - Windows: `C:\path\to\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe`, + - macOS: `/path/to/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-cli`, and + - Linux: `/path/to/Arduino IDE/resources/app/node_modules/arduino-ide-extension/build/arduino-cli`. ### Architecture overview diff --git a/arduino-debugger-extension/package.json b/arduino-debugger-extension/package.json index 413a8ea6..385080d2 100644 --- a/arduino-debugger-extension/package.json +++ b/arduino-debugger-extension/package.json @@ -1,11 +1,11 @@ { "name": "arduino-debugger-extension", - "version": "0.1.4", + "version": "2.0.0-beta.1", "description": "An extension for debugging Arduino programs", "license": "MIT", "dependencies": { "@theia/debug": "next", - "arduino-ide-extension": "0.1.4", + "arduino-ide-extension": "2.0.0-beta.1", "cdt-gdb-adapter": "^0.0.14", "vscode-debugadapter": "^1.26.0", "vscode-debugprotocol": "^1.26.0" diff --git a/arduino-ide-extension/README.md b/arduino-ide-extension/README.md index 701f2aed..4f879427 100644 --- a/arduino-ide-extension/README.md +++ b/arduino-ide-extension/README.md @@ -1,6 +1,6 @@ ## Arduino IDE Extension -Arduino Pro IDE is based on Theia, and most of its IDE features, UIs and customizations are implemented in this Theia extension. +Arduino IDE is based on Theia, and most of its IDE features, UIs and customizations are implemented in this Theia extension. ### IDE Services diff --git a/arduino-ide-extension/package.json b/arduino-ide-extension/package.json index 21a5383e..79dc6978 100644 --- a/arduino-ide-extension/package.json +++ b/arduino-ide-extension/package.json @@ -1,6 +1,6 @@ { "name": "arduino-ide-extension", - "version": "0.1.4", + "version": "2.0.0-beta.1", "description": "An extension for Theia building the Arduino IDE", "license": "MIT", "scripts": { @@ -123,7 +123,7 @@ ], "arduino": { "cli": { - "version": "0.15.1" + "version": "0.15.2" } } } diff --git a/arduino-ide-extension/src/browser/arduino-frontend-contribution.tsx b/arduino-ide-extension/src/browser/arduino-frontend-contribution.tsx index 7df51e81..2aa68970 100644 --- a/arduino-ide-extension/src/browser/arduino-frontend-contribution.tsx +++ b/arduino-ide-extension/src/browser/arduino-frontend-contribution.tsx @@ -386,7 +386,7 @@ export class ArduinoFrontendContribution implements FrontendApplicationContribut light: 'editorWidget.background', hc: 'editorWidget.background' }, - description: 'Color of the Arduino Pro IDE foreground which is used for dialogs, such as the Select Board dialog.' + description: 'Color of the Arduino IDE foreground which is used for dialogs, such as the Select Board dialog.' }, { id: 'arduino.toolbar.background', diff --git a/arduino-ide-extension/src/browser/boards/boards-data-store.ts b/arduino-ide-extension/src/browser/boards/boards-data-store.ts index e83e47b2..12771c4a 100644 --- a/arduino-ide-extension/src/browser/boards/boards-data-store.ts +++ b/arduino-ide-extension/src/browser/boards/boards-data-store.ts @@ -157,7 +157,7 @@ export class BoardsDataStore implements FrontendApplicationContribution { } protected getStorageKey(fqbn: string, version: Installable.Version): string { - return `.arduinoProIDE-configOptions-${version}-${fqbn}`; + return `.arduinoIDE-configOptions-${version}-${fqbn}`; } protected async getBoardDetailsSafe(fqbn: string): Promise { diff --git a/arduino-ide-extension/src/electron-browser/theia/core/electron-main-menu-factory.ts b/arduino-ide-extension/src/electron-browser/theia/core/electron-main-menu-factory.ts index a440b2a7..268a6d12 100644 --- a/arduino-ide-extension/src/electron-browser/theia/core/electron-main-menu-factory.ts +++ b/arduino-ide-extension/src/electron-browser/theia/core/electron-main-menu-factory.ts @@ -23,7 +23,7 @@ export class ElectronMainMenuFactory extends TheiaElectronMainMenuFactory { protected createOSXMenu(): Electron.MenuItemConstructorOptions { const { submenu } = super.createOSXMenu(); - const label = 'Arduino Pro IDE'; + const label = 'Arduino IDE'; if (!!submenu && !(submenu instanceof remote.Menu)) { const [/* about */, /* settings */, ...rest] = submenu; const about = this.fillMenuTemplate([], this.menuProvider.getMenu(ArduinoMenus.HELP__ABOUT_GROUP)); diff --git a/arduino-ide-extension/src/node/sketches-service-impl.ts b/arduino-ide-extension/src/node/sketches-service-impl.ts index 5cc23af9..6183ef4f 100644 --- a/arduino-ide-extension/src/node/sketches-service-impl.ts +++ b/arduino-ide-extension/src/node/sketches-service-impl.ts @@ -18,7 +18,7 @@ import { LoadSketchReq, ArchiveSketchReq } from './cli-protocol/commands/command const WIN32_DRIVE_REGEXP = /^[a-zA-Z]:\\/; -const prefix = '.arduinoProIDE-unsaved'; +const prefix = '.arduinoIDE-unsaved'; @injectable() export class SketchesServiceImpl implements SketchesService { diff --git a/browser-app/package.json b/browser-app/package.json index 007851d6..abafa159 100644 --- a/browser-app/package.json +++ b/browser-app/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "browser-app", - "version": "0.1.4", + "version": "2.0.0-beta.1", "license": "MIT", "dependencies": { "@theia/core": "next", @@ -18,7 +18,7 @@ "@theia/process": "next", "@theia/terminal": "next", "@theia/workspace": "next", - "arduino-ide-extension": "0.1.4" + "arduino-ide-extension": "2.0.0-beta.1" }, "devDependencies": { "@theia/cli": "next" @@ -31,9 +31,9 @@ "theia": { "frontend": { "config": { - "applicationName": "Arduino Pro IDE", + "applicationName": "Arduino IDE", "defaultTheme": "arduino-theme", - "status": "Alpha", + "status": "Beta", "preferences": { "editor.autoSave": "on", "editor.minimap.enabled": false, @@ -44,7 +44,7 @@ }, "backend": { "config": { - "configDirName": ".arduinoProIDE" + "configDirName": ".arduinoIDE" } }, "generator": { diff --git a/electron-app/package.json b/electron-app/package.json index 3ed03c4d..c88bbbec 100644 --- a/electron-app/package.json +++ b/electron-app/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "electron-app", - "version": "0.1.4", + "version": "2.0.0-beta.1", "license": "MIT", "main": "src-gen/frontend/electron-main.js", "dependencies": { @@ -20,7 +20,7 @@ "@theia/process": "next", "@theia/terminal": "next", "@theia/workspace": "next", - "arduino-ide-extension": "0.1.4" + "arduino-ide-extension": "2.0.0-beta.1" }, "devDependencies": { "@theia/cli": "next" @@ -34,9 +34,9 @@ "target": "electron", "frontend": { "config": { - "applicationName": "Arduino Pro IDE", + "applicationName": "Arduino IDE", "defaultTheme": "arduino-theme", - "status": "Alpha", + "status": "Beta", "preferences": { "editor.autoSave": "on", "editor.minimap.enabled": false, @@ -47,7 +47,7 @@ }, "backend": { "config": { - "configDirName": ".arduinoProIDE" + "configDirName": ".arduinoIDE" } }, "generator": { diff --git a/electron/README.md b/electron/README.md index b990b3f1..9eddc504 100644 --- a/electron/README.md +++ b/electron/README.md @@ -1,13 +1,13 @@ ## Electron -All-in-one packager producing the `Arduino Pro IDE` Electron-based application. +All-in-one packager producing the `Arduino IDE` Electron-based application. ## Prerequisites The prerequisites are defined [here](https://github.com/theia-ide/theia/blob/master/doc/Developing.md#prerequisites). ## Build -To build the Arduino Pro IDE application you have to do the followings: +To build the Arduino IDE application you have to do the followings: ```bash yarn --cwd ./electron/packager/ && yarn --cwd ./electron/packager/ package ``` diff --git a/electron/build/patch/main.js b/electron/build/patch/main.js index b55784df..b15d72e4 100644 --- a/electron/build/patch/main.js +++ b/electron/build/patch/main.js @@ -1,7 +1,7 @@ // @ts-check const { setup, log } = require('node-log-rotate'); setup({ - appName: 'Arduino Pro IDE', + appName: 'Arduino IDE', maxSize: 10 * 1024 * 1024 }); for (const name of ['log', 'trace', 'info', 'warn', 'error']) { @@ -15,7 +15,7 @@ for (const name of ['log', 'trace', 'info', 'warn', 'error']) { const { BackendApplicationConfigProvider } = require('@theia/core/lib/node/backend-application-config-provider'); const main = require('@theia/core/lib/node/main'); BackendApplicationConfigProvider.set({ - "configDirName": ".arduinoProIDE", + "configDirName": ".arduinoIDE", "singleInstance": true }); diff --git a/electron/build/scripts/arduino-pro-ide-electron-main.js b/electron/build/scripts/arduino-ide-electron-main.js similarity index 100% rename from electron/build/scripts/arduino-pro-ide-electron-main.js rename to electron/build/scripts/arduino-ide-electron-main.js diff --git a/electron/build/template-package.json b/electron/build/template-package.json index c092aaac..27cca42a 100644 --- a/electron/build/template-package.json +++ b/electron/build/template-package.json @@ -1,5 +1,5 @@ { - "main": "scripts/arduino-pro-ide-electron-main.js", + "main": "scripts/arduino-ide-electron-main.js", "author": "Arduino SA", "resolutions": { "**/fs-extra": "^4.0.3" @@ -29,7 +29,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/arduino/arduino-pro-ide.git" + "url": "git+https://github.com/arduino/arduino-ide.git" }, "// Notes:": [ "The resolution for `fs-extra` was required due to this: https://spectrum.chat/theia/general/our-theia-electron-builder-app-no-longer-starts~f5cf09a0-6d88-448b-8818-24ad0ec2ee7c" @@ -48,7 +48,7 @@ } }, "build": { - "productName": "Arduino Pro IDE", + "productName": "Arduino IDE", "asar": false, "directories": { "buildResources": "resources" @@ -130,7 +130,7 @@ { "provider": "s3", "bucket": "arduino-downloads-prod-beagle", - "path": "arduino-pro-ide/nightly" + "path": "arduino-ide/nightly" } ] }, diff --git a/electron/packager/config.js b/electron/packager/config.js index 08a78eeb..2efb0eaa 100644 --- a/electron/packager/config.js +++ b/electron/packager/config.js @@ -18,7 +18,7 @@ function artifactName() { return getVersion(); } })(); - const name = 'arduino-pro-ide'; + const name = 'arduino-ide'; switch (platform) { case 'win32': { if (arch === 'x64') { @@ -99,8 +99,8 @@ function generateTemplate(buildDate) { // do `export PUBLISH=true yarn package` if you want to mimic CI build locally. // const electronPublish = release || (isCI && currentBranch() === 'master') || process.env.PUBLISH === 'true'; const version = getVersion(); - const productName = 'Arduino Pro IDE'; - const name = 'arduino-pro-ide'; + const productName = 'Arduino IDE'; + const name = 'arduino-ide'; let customizations = { name, description: productName, diff --git a/electron/packager/index.js b/electron/packager/index.js index 44cb25e9..8358b263 100644 --- a/electron/packager/index.js +++ b/electron/packager/index.js @@ -276,15 +276,15 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()} const filesToCopy = []; switch (platform) { case 'linux': { - filesToCopy.push(...glob.sync('**/arduino-pro-ide*.{zip,AppImage}', { cwd }).map(p => join(cwd, p))); + filesToCopy.push(...glob.sync('**/arduino-ide*.{zip,AppImage}', { cwd }).map(p => join(cwd, p))); break; } case 'win32': { - filesToCopy.push(...glob.sync('**/arduino-pro-ide*.{exe,msi,zip}', { cwd }).map(p => join(cwd, p))); + filesToCopy.push(...glob.sync('**/arduino-ide*.{exe,msi,zip}', { cwd }).map(p => join(cwd, p))); break; } case 'darwin': { - filesToCopy.push(...glob.sync('**/arduino-pro-ide*.{dmg,zip}', { cwd }).map(p => join(cwd, p))); + filesToCopy.push(...glob.sync('**/arduino-ide*.{dmg,zip}', { cwd }).map(p => join(cwd, p))); break; } default: { diff --git a/electron/packager/package.json b/electron/packager/package.json index e337dcfd..c987f619 100644 --- a/electron/packager/package.json +++ b/electron/packager/package.json @@ -2,7 +2,7 @@ "private": true, "name": "packager", "version": "1.0.0", - "description": "Packager for the Arduino Pro IDE electron application", + "description": "Packager for the Arduino IDE electron application", "main": "index.js", "scripts": { "prepare": "yarn test", diff --git a/package.json b/package.json index c3873277..703c27f6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "arduino-editor", - "version": "0.1.4", - "description": "Arduino Pro IDE", + "version": "2.0.0-beta.1", + "description": "Arduino IDE", "repository": "https://github.com/bcmi-labs/arduino-editor.git", "author": "Arduino SA", "license": "MIT", diff --git a/scripts/update-version.js b/scripts/update-version.js index 783617a6..b037c50a 100644 --- a/scripts/update-version.js +++ b/scripts/update-version.js @@ -19,7 +19,7 @@ if (!semver.valid(targetVersion)) { } if (!semver.gt(targetVersion, currentVersion)) { - console.error(`Target version '${targetVersion}' must be greater than the current version '${currentVersion}.'`); + console.error(`Target version '${targetVersion}' must be greater than the current version '${currentVersion}'.`); process.exit(1); }