Skip to content

Commit

Permalink
删除打印代码&自定义兼容企业版
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rdfree committed Jan 31, 2024
1 parent 21fa1da commit 289842d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/filePath.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const appPath = app.isPackaged ? path.dirname(app.getPath('exe')) : app.getAppPa
* 在新版本中,windows自定义安装路径会将家目录的yakit-projects迁移到软件根目录下,则会使用该目录 */
const defaultYakitProjectPath = path.join(os.homedir(), "yakit-projects")
const YakitProjectPath = fs.existsSync(defaultYakitProjectPath)? defaultYakitProjectPath: path.join(appPath, "yakit-projects");
console.log("YakitProjectPath: ", YakitProjectPath)

/** 引擎和软件安装包路径 */
const yaklangEngineDir = path.join(YakitProjectPath, "yak-engine")
/**
Expand Down
16 changes: 16 additions & 0 deletions multibuilder/electron-builder-ee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ extraFiles:
- "*.txt"
- "*.gzip"
- "!*.db"
- from: "LICENSE.md"
to: "LICENSE.md"

directories:
buildResources: resources
Expand Down Expand Up @@ -80,6 +82,20 @@ win:
- x64
icon: "app/assets/yakiteelogo.ico"

nsis:
oneClick: false
perMachine: false
deleteAppDataOnUninstall: true
allowToChangeInstallationDirectory: true
installerIcon: app/assets/yakiteelogo.ico
uninstallerIcon: app/assets/yakiteelogo.ico
unicode: true
include: build/yakit_build.nsh
license: LICENSE.md
warningsAsErrors: false
createDesktopShortcut: false
createStartMenuShortcut: true

#publish:
# - provider: generic
# url: https://update.electron-builder.com
Expand Down
16 changes: 16 additions & 0 deletions multibuilder/electron-builder-se.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ extraFiles:
- "*.txt"
- "*.gzip"
- "!*.db"
- from: "LICENSE.md"
to: "LICENSE.md"

directories:
buildResources: resources
Expand Down Expand Up @@ -80,6 +82,20 @@ win:
- x64
icon: "app/assets/yakitselogo.ico"

nsis:
oneClick: false
perMachine: false
deleteAppDataOnUninstall: true
allowToChangeInstallationDirectory: true
installerIcon: app/assets/yakitselogo.ico
uninstallerIcon: app/assets/yakitselogo.ico
unicode: true
include: build/yakit_build.nsh
license: LICENSE.md
warningsAsErrors: false
createDesktopShortcut: false
createStartMenuShortcut: true

#publish:
# - provider: generic
# url: https://update.electron-builder.com
Expand Down

0 comments on commit 289842d

Please sign in to comment.