@scent/w3manager-release 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # w3manager
2
+
3
+ ## Project setup
4
+ ```
5
+ yarn install
6
+ ```
7
+
8
+ ### Compiles and hot-reloads for development
9
+ ```
10
+ yarn serve
11
+ ```
12
+
13
+ ### Compiles and minifies for production
14
+ ```
15
+ yarn build
16
+ ```
17
+
18
+ ### Lints and fixes files
19
+ ```
20
+ yarn lint
21
+ ```
22
+
23
+ ### Customize configuration
24
+ See [Configuration Reference](https://cli.vuejs.org/config/).
@@ -0,0 +1,216 @@
1
+ x64:
2
+ firstOrDefaultFilePatterns:
3
+ - '!**/node_modules'
4
+ - '!dist_electron{,/**/*}'
5
+ - '**'
6
+ - package.json
7
+ - '!**/*.{iml,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,suo,xproj,cc,d.ts,pdb}'
8
+ - '!**/._*'
9
+ - '!**/electron-builder.{yaml,yml,json,json5,toml}'
10
+ - '!**/{.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,.DS_Store,thumbs.db,.gitignore,.gitkeep,.gitattributes,.npmignore,.idea,.vs,.flowconfig,.jshintrc,.eslintrc,.circleci,.yarn-integrity,.yarn-metadata.json,yarn-error.log,yarn.lock,package-lock.json,npm-debug.log,appveyor.yml,.travis.yml,circle.yml,.nyc_output}'
11
+ - '!.yarn{,/**/*}'
12
+ - '!.editorconfig'
13
+ - '!.yarnrc.yml'
14
+ nodeModuleFilePatterns:
15
+ - '**/*'
16
+ - '**'
17
+ nsis:
18
+ script: |-
19
+ !include "D:\projects\w3manager\node_modules\app-builder-lib\templates\nsis\include\StdUtils.nsh"
20
+ !addincludedir "D:\projects\w3manager\node_modules\app-builder-lib\templates\nsis\include"
21
+ !macro _isUpdated _a _b _t _f
22
+ ${StdUtils.TestParameter} $R9 "updated"
23
+ StrCmp "$R9" "true" `${_t}` `${_f}`
24
+ !macroend
25
+ !define isUpdated `"" isUpdated ""`
26
+
27
+ !macro _isForceRun _a _b _t _f
28
+ ${StdUtils.TestParameter} $R9 "force-run"
29
+ StrCmp "$R9" "true" `${_t}` `${_f}`
30
+ !macroend
31
+ !define isForceRun `"" isForceRun ""`
32
+
33
+ !macro _isKeepShortcuts _a _b _t _f
34
+ ${StdUtils.TestParameter} $R9 "keep-shortcuts"
35
+ StrCmp "$R9" "true" `${_t}` `${_f}`
36
+ !macroend
37
+ !define isKeepShortcuts `"" isKeepShortcuts ""`
38
+
39
+ !macro _isNoDesktopShortcut _a _b _t _f
40
+ ${StdUtils.TestParameter} $R9 "no-desktop-shortcut"
41
+ StrCmp "$R9" "true" `${_t}` `${_f}`
42
+ !macroend
43
+ !define isNoDesktopShortcut `"" isNoDesktopShortcut ""`
44
+
45
+ !macro _isDeleteAppData _a _b _t _f
46
+ ${StdUtils.TestParameter} $R9 "delete-app-data"
47
+ StrCmp "$R9" "true" `${_t}` `${_f}`
48
+ !macroend
49
+ !define isDeleteAppData `"" isDeleteAppData ""`
50
+
51
+ !macro _isForAllUsers _a _b _t _f
52
+ ${StdUtils.TestParameter} $R9 "allusers"
53
+ StrCmp "$R9" "true" `${_t}` `${_f}`
54
+ !macroend
55
+ !define isForAllUsers `"" isForAllUsers ""`
56
+
57
+ !macro _isForCurrentUser _a _b _t _f
58
+ ${StdUtils.TestParameter} $R9 "currentuser"
59
+ StrCmp "$R9" "true" `${_t}` `${_f}`
60
+ !macroend
61
+ !define isForCurrentUser `"" isForCurrentUser ""`
62
+
63
+ !macro addLangs
64
+ !insertmacro MUI_LANGUAGE "English"
65
+ !insertmacro MUI_LANGUAGE "German"
66
+ !insertmacro MUI_LANGUAGE "French"
67
+ !insertmacro MUI_LANGUAGE "SpanishInternational"
68
+ !insertmacro MUI_LANGUAGE "SimpChinese"
69
+ !insertmacro MUI_LANGUAGE "TradChinese"
70
+ !insertmacro MUI_LANGUAGE "Japanese"
71
+ !insertmacro MUI_LANGUAGE "Korean"
72
+ !insertmacro MUI_LANGUAGE "Italian"
73
+ !insertmacro MUI_LANGUAGE "Dutch"
74
+ !insertmacro MUI_LANGUAGE "Danish"
75
+ !insertmacro MUI_LANGUAGE "Swedish"
76
+ !insertmacro MUI_LANGUAGE "Norwegian"
77
+ !insertmacro MUI_LANGUAGE "Finnish"
78
+ !insertmacro MUI_LANGUAGE "Russian"
79
+ !insertmacro MUI_LANGUAGE "Portuguese"
80
+ !insertmacro MUI_LANGUAGE "PortugueseBR"
81
+ !insertmacro MUI_LANGUAGE "Polish"
82
+ !insertmacro MUI_LANGUAGE "Ukrainian"
83
+ !insertmacro MUI_LANGUAGE "Czech"
84
+ !insertmacro MUI_LANGUAGE "Slovak"
85
+ !insertmacro MUI_LANGUAGE "Hungarian"
86
+ !insertmacro MUI_LANGUAGE "Arabic"
87
+ !insertmacro MUI_LANGUAGE "Turkish"
88
+ !insertmacro MUI_LANGUAGE "Thai"
89
+ !insertmacro MUI_LANGUAGE "Vietnamese"
90
+ !macroend
91
+
92
+ !addincludedir "D:\projects\w3manager\build"
93
+ !include "D:\projects\w3manager\build\installer.nsh"
94
+ !include "C:\Users\Cangshi\AppData\Local\Temp\t-9rg346\0-messages.nsh"
95
+ !include "C:\Users\Cangshi\AppData\Local\Temp\t-9rg346\1-messages.nsh"
96
+ !addplugindir /x86-unicode "C:\Users\Cangshi\AppData\Local\electron-builder\Cache\nsis\nsis-resources-3.4.1\plugins\x86-unicode"
97
+
98
+ Var newStartMenuLink
99
+ Var oldStartMenuLink
100
+ Var newDesktopLink
101
+ Var oldDesktopLink
102
+ Var oldShortcutName
103
+ Var oldMenuDirectory
104
+
105
+ !include "common.nsh"
106
+ !include "MUI2.nsh"
107
+ !include "multiUser.nsh"
108
+ !include "allowOnlyOneInstallerInstance.nsh"
109
+
110
+ !ifdef INSTALL_MODE_PER_ALL_USERS
111
+ !ifdef BUILD_UNINSTALLER
112
+ RequestExecutionLevel user
113
+ !else
114
+ RequestExecutionLevel admin
115
+ !endif
116
+ !else
117
+ RequestExecutionLevel user
118
+ !endif
119
+
120
+ !ifdef BUILD_UNINSTALLER
121
+ SilentInstall silent
122
+ !else
123
+ Var appExe
124
+ Var launchLink
125
+ !endif
126
+
127
+ !ifdef ONE_CLICK
128
+ !include "oneClick.nsh"
129
+ !else
130
+ !include "assistedInstaller.nsh"
131
+ !endif
132
+
133
+ !insertmacro addLangs
134
+
135
+ !ifmacrodef customHeader
136
+ !insertmacro customHeader
137
+ !endif
138
+
139
+ Function .onInit
140
+ SetOutPath $INSTDIR
141
+ ${LogSet} on
142
+
143
+ !ifmacrodef preInit
144
+ !insertmacro preInit
145
+ !endif
146
+
147
+ !ifdef DISPLAY_LANG_SELECTOR
148
+ !insertmacro MUI_LANGDLL_DISPLAY
149
+ !endif
150
+
151
+ !ifdef BUILD_UNINSTALLER
152
+ WriteUninstaller "${UNINSTALLER_OUT_FILE}"
153
+ !insertmacro quitSuccess
154
+ !else
155
+ !insertmacro check64BitAndSetRegView
156
+
157
+ !ifdef ONE_CLICK
158
+ !insertmacro ALLOW_ONLY_ONE_INSTALLER_INSTANCE
159
+ !else
160
+ ${IfNot} ${UAC_IsInnerInstance}
161
+ !insertmacro ALLOW_ONLY_ONE_INSTALLER_INSTANCE
162
+ ${EndIf}
163
+ !endif
164
+
165
+ !insertmacro initMultiUser
166
+
167
+ !ifmacrodef customInit
168
+ !insertmacro customInit
169
+ !endif
170
+
171
+ !ifmacrodef addLicenseFiles
172
+ InitPluginsDir
173
+ !insertmacro addLicenseFiles
174
+ !endif
175
+ !endif
176
+ FunctionEnd
177
+
178
+ !ifndef BUILD_UNINSTALLER
179
+ !include "installUtil.nsh"
180
+ !endif
181
+
182
+ Section "install"
183
+ !ifndef BUILD_UNINSTALLER
184
+ # If we're running a silent upgrade of a per-machine installation, elevate so extracting the new app will succeed.
185
+ # For a non-silent install, the elevation will be triggered when the install mode is selected in the UI,
186
+ # but that won't be executed when silent.
187
+ !ifndef INSTALL_MODE_PER_ALL_USERS
188
+ !ifndef ONE_CLICK
189
+ ${if} $hasPerMachineInstallation == "1" # set in onInit by initMultiUser
190
+ ${andIf} ${Silent}
191
+ ${ifNot} ${UAC_IsAdmin}
192
+ ShowWindow $HWNDPARENT ${SW_HIDE}
193
+ !insertmacro UAC_RunElevated
194
+ ${Switch} $0
195
+ ${Case} 0
196
+ ${Break}
197
+ ${Case} 1223 ;user aborted
198
+ ${Break}
199
+ ${Default}
200
+ MessageBox mb_IconStop|mb_TopMost|mb_SetForeground "Unable to elevate, error $0"
201
+ ${Break}
202
+ ${EndSwitch}
203
+ Quit
204
+ ${else}
205
+ !insertmacro setInstallModePerAllUsers
206
+ ${endIf}
207
+ ${endIf}
208
+ !endif
209
+ !endif
210
+ !include "installSection.nsh"
211
+ !endif
212
+ SectionEnd
213
+
214
+ !ifdef BUILD_UNINSTALLER
215
+ !include "uninstaller.nsh"
216
+ !endif
@@ -0,0 +1,12 @@
1
+ version: 0.3.6
2
+ files:
3
+ - url: 暮心 Setup 0.3.6.exe
4
+ sha512: YAilWINnNLMlLFu1zQ8Zz7217TRA5kYprI/CbeoTSqY+PnhnEDdUZd1yvt/rSIZYV3JFiLX+I5AbwjrGkfmt8A==
5
+ size: 73173598
6
+ path: 暮心 Setup 0.3.6.exe
7
+ sha512: YAilWINnNLMlLFu1zQ8Zz7217TRA5kYprI/CbeoTSqY+PnhnEDdUZd1yvt/rSIZYV3JFiLX+I5AbwjrGkfmt8A==
8
+ releaseDate: "2025-08-19T03:07:53.992Z"
9
+ forceUpdate: true
10
+ securityUpdate: true
11
+ isCritical: true
12
+ releaseNotes: 🚨 重要更新必须立即更新!
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@scent/w3manager-release",
3
+ "version": "0.3.6",
4
+ "productName": "暮心",
5
+ "subVersion": "云岫长明 - 正式版 Q群:906326574",
6
+ "author": "苍石",
7
+ "scripts": {
8
+ "publish-run": "npm publish --access public --tag latest",
9
+ "release-beta": "git add . && git commit -m 'release-beta' && npm version prerelease --preid=beta && npm run electron:build",
10
+ "release-patch": "git add . && git commit -m 'release-patch' && npm version patch && npm run electron:build",
11
+ "release-minor": "git add . && git commit -m 'release-minor' && npm version minor && npm run electron:build",
12
+ "release-major": "git add . && git commit -m 'release-major' && npm version major && npm run electron:build",
13
+ "electron:build": "vue-cli-service electron:build -w nsis --x64 -p always && npm run generate-update-info",
14
+ "electron:build-mac": "vue-cli-service electron:build -m",
15
+ "electron:serve": "vue-cli-service electron:serve",
16
+ "postinstall": "electron-builder install-app-deps",
17
+ "postuninstall": "electron-builder install-app-deps",
18
+ "build-icon": "electron-icon-builder --input=./public/logo.png --output=build --flatten",
19
+ "generate-update-info": "node scripts/generate-update-info.js"
20
+ },
21
+ "files": [
22
+ "dist_electron/*.exe",
23
+ "dist_electron/*.blockmap",
24
+ "dist_electron/*.dmg",
25
+ "dist_electron/*.yml"
26
+ ],
27
+ "main": "background.js",
28
+ "dependencies": {
29
+ "@ffprobe-installer/ffprobe": "^2.1.2",
30
+ "ant-design-vue": "^4.0.0-rc.6",
31
+ "archiver": "^5.3.1",
32
+ "bytenode": "^1.5.1",
33
+ "commander": "^11.0.0",
34
+ "core-js": "^3.8.3",
35
+ "dexie": "^3.2.7",
36
+ "electron-log": "^4.4.8",
37
+ "electron-store": "^8.1.0",
38
+ "electron-updater": "^6.1.1",
39
+ "gl-matrix": "^3.4.3",
40
+ "iconv-lite": "^0.6.3",
41
+ "node-ffprobe": "^3.0.0",
42
+ "ntp-client": "^0.5.3",
43
+ "openai": "^5.12.2",
44
+ "regedit": "^5.1.2",
45
+ "siling-license": "^1.0.7",
46
+ "uuid": "^9.0.0",
47
+ "vue": "^3.2.13",
48
+ "w3power": "^1.0.1-beta.5",
49
+ "war3-model": "^2.2.1"
50
+ },
51
+ "devDependencies": {
52
+ "@babel/core": "^7.12.16",
53
+ "@babel/plugin-transform-arrow-functions": "^7.22.5",
54
+ "@herberttn/bytenode-webpack-plugin": "^2.3.1",
55
+ "@vue/cli-plugin-babel": "~5.0.0",
56
+ "@vue/cli-service": "~5.0.0",
57
+ "asar": "^3.2.0",
58
+ "electron": "^13.0.0",
59
+ "electron-builder": "^23.0.3",
60
+ "electron-devtools-assembler": "^1.2.0",
61
+ "js-yaml": "^4.1.0",
62
+ "vue-cli-plugin-electron-builder": "^2.1.1"
63
+ },
64
+ "browserslist": [
65
+ "> 1%",
66
+ "last 2 versions",
67
+ "not dead",
68
+ "not ie 11"
69
+ ]
70
+ }