mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 04:20:36 +08:00
parent
cfd0d0a2fa
commit
da5e64a143
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@ dist/electron/*
|
|||||||
dist/web/*
|
dist/web/*
|
||||||
build/*
|
build/*
|
||||||
!build/icons
|
!build/icons
|
||||||
|
!build/windows
|
||||||
coverage
|
coverage
|
||||||
.vscode
|
.vscode
|
||||||
node_modules/
|
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": {
|
"nsis": {
|
||||||
"perMachine": true,
|
"perMachine": true,
|
||||||
"oneClick": false,
|
"oneClick": false,
|
||||||
"allowToChangeInstallationDirectory": true
|
"allowToChangeInstallationDirectory": true,
|
||||||
|
"include": "build/windows/installer.nsh"
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"category": "Office;TextEditor;Utility",
|
"category": "Office;TextEditor;Utility",
|
||||||
|
Loading…
Reference in New Issue
Block a user