mirror of
https://github.com/marktext/marktext.git
synced 2025-05-02 17:31:26 +08:00
parent
cfd0d0a2fa
commit
da5e64a143
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@ dist/electron/*
|
||||
dist/web/*
|
||||
build/*
|
||||
!build/icons
|
||||
!build/windows
|
||||
coverage
|
||||
.vscode
|
||||
node_modules/
|
||||
|
6
build/windows/installer.nsh
Normal file
6
build/windows/installer.nsh
Normal file
@ -0,0 +1,6 @@
|
||||
!macro customUnInstall
|
||||
MessageBox MB_YESNO "Do you want to delete user settings?" /SD IDNO IDNO SkipRemoval
|
||||
SetShellVarContext current
|
||||
RMDir /r "$APPDATA\marktext"
|
||||
SkipRemoval:
|
||||
!macroend
|
@ -82,7 +82,8 @@
|
||||
"nsis": {
|
||||
"perMachine": true,
|
||||
"oneClick": false,
|
||||
"allowToChangeInstallationDirectory": true
|
||||
"allowToChangeInstallationDirectory": true,
|
||||
"include": "build/windows/installer.nsh"
|
||||
},
|
||||
"linux": {
|
||||
"category": "Office;TextEditor;Utility",
|
||||
|
Loading…
Reference in New Issue
Block a user