Skip to content

Commit

Permalink
update project name
Browse files Browse the repository at this point in the history
update project name
  • Loading branch information
bawangxx committed Mar 1, 2021
1 parent ca61a47 commit 319192e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xz_voice",
"version": "1.0.9",
"name": "xzvoice",
"version": "1.1.0",
"private": true,
"author": "XZSoft",
"description": "最好用的文字转语音工具!",
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default {
this.$refs.updateDialogRef.showDialog(null);
break;
case "#buy":
shell.openExternal("https://github.com/bawangxx/xz_voice");
shell.openExternal("https://github.com/bawangxx/XZVoice");
break;
case "#shopCollect":
this.$router.push('/');
Expand Down
15 changes: 8 additions & 7 deletions src/daili/config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
const pkg = require("../../package.json");

const mainConfig = {
softName: 'AI配音专家',
softVersion: '1.0.9',
userFolder: "xz_voice", // 用户文件夹名
proName: 'voice', //项目名称
company: '吾爱破解',
nshPath: 'src/daili/nsh/installer.nsh', //自定义nsis脚本路径
}
softName: "AI配音专家",
softVersion: pkg.version,
userFolder: "xzvoice", // 用户文件夹名
proName: "voice", //项目名称
company: "吾爱破解",
nshPath: "src/daili/nsh/installer.nsh", //自定义nsis脚本路径
};

module.exports = mainConfig;
8 changes: 4 additions & 4 deletions src/daili/nsh/installer.nsh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
!macro preInit
SetRegView 64
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\xzsoft\xz_voice"
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\xzsoft\xz_voice"
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\xzsoft\xzvoice"
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\xzsoft\xzvoice"
SetRegView 32
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\xzsoft\xz_voice"
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\xzsoft\xz_voice"
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\xzsoft\xzvoice"
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\xzsoft\xzvoice"
!macroend

0 comments on commit 319192e

Please sign in to comment.