root 3 年之前
父节点
当前提交
356cb66fae
共有 6 个文件被更改,包括 9 次插入9 次删除
  1. 5 5
      electron-builder.yml
  2. 1 1
      package.json
  3. 1 1
      src/main/main.js
  4. 二进制
      src/static/common/cocorobo.ico
  5. 二进制
      src/static/common/cocorobo_.ico
  6. 2 2
      src/static/win/installer.nsh

+ 5 - 5
electron-builder.yml

@@ -1,6 +1,6 @@
-appId: org.CocoRobo.CocoRoboXDeskTop
+appId: org.CocoRobo.XGOEdu
 copyright: Copytright © 2021 CocoRobo LTD
-productName: CocoRoboXDeskTop
+productName: XGOEdu
 npmRebuild: true
 asar: true
 
@@ -32,7 +32,7 @@ mac:
   hardenedRuntime: true
   entitlements: build/entitlements.mac.plist
   entitlementsInherit: build/entitlements.mac.plist
-  artifactName: CocoRoboXDeskTop Installer v${version}.${ext}
+  artifactName: XGOEdu Installer v${version}.${ext}
   extraFiles:
     - from: src/static/mac/tools
       to: tools
@@ -72,7 +72,7 @@ win:
         - x64
         - ia32
   icon: src/static/common/cocorobo.ico
-  artifactName: CocoRoboXDeskTop Installer v${version}.${ext}
+  artifactName: XGOEdu Installer v${version}.${ext}
   extraFiles:
     - from: src/static/win/cp210x_drivers
       to: cp210x_drivers
@@ -101,7 +101,7 @@ linux:
     - deb
     - AppImage
   icon: src/static/common/cocorobo.png
-  artifactName: CocoRoboXDeskTop Installer v${version}.${ext}
+  artifactName: XGOEdu Installer v${version}.${ext}
   extraFiles:
     - from: src/static/linux/tools
       to: tools

+ 1 - 1
package.json

@@ -1,5 +1,5 @@
 {
-  "name": "CocoRoboXDeskTop",
+  "name": "XGOEdu",
   "version": "1.1.0",
   "description": "cocorobo",
   "repository": "https://github.com/CocoRoboLabs/CocoBlockly-desktop.git",

+ 1 - 1
src/main/main.js

@@ -43,7 +43,7 @@ if (platform === 'darwin') {
 	const sudo = require('sudo-prompt');
 	const AutoLaunch = require('auto-launch');
 	const opts = {
-		name: "CocoRoboXDeskTop",
+		name: "XGOEdu",
 		isHidden: false,
 		mac: { useLaunchAgent: true }
 	};

二进制
src/static/common/cocorobo.ico


二进制
src/static/common/cocorobo_.ico


+ 2 - 2
src/static/win/installer.nsh

@@ -7,7 +7,7 @@
 !macroend
 
 !macro customInstall
-    ; WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Run""CocoRoboXDeskTop" "$INSTDIR\CocoRoboXDeskTop.exe"
+    ; WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Run""XGOEdu" "$INSTDIR\XGOEdu.exe"
     nsExec::Exec ".\resources\ca.bat"
     ${ifNot} ${isUpdated}
         ; ${If} ${RunningX64}
@@ -31,5 +31,5 @@
     #nsExec::Exec 'cmd.exe /c del "$INSTDIR\resources\ca.bat" "$INSTDIR\resources\ca.crt" "$INSTDIR\python\python-3.8.0-amd64.bat" "$INSTDIR\python\python-3.8.0.bat" "$INSTDIR\cp210x_drivers\CP210xVCPInstaller_x64.bat" "$INSTDIR\cp210x_drivers\CP210xVCPInstaller_x86.bat"'
 !macroend
 !macro customUnInstall
-    DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "CocoRoboXDeskTop"
+    DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "XGOEdu"
 !macroend