removed uninstall shortcut and updated readme
This commit is contained in:
parent
6559faf7d1
commit
3d6b57a6e8
@ -7159,7 +7159,7 @@ WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||
CreateDirectory "$SMPROGRAMS\$SM_Folder"
|
||||
CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
|
||||
CreateShortCut "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||
#CreateShortCut "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||
|
||||
!ifdef WEB_SITE
|
||||
WriteIniStr "$INSTDIR\${APP_NAME} website.url" "InternetShortcut" "URL" "${WEB_SITE}"
|
||||
@ -7171,7 +7171,7 @@ CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk" "$INSTDIR\${APP_
|
||||
!ifndef REG_START_MENU
|
||||
CreateDirectory "$SMPROGRAMS\Cmder"
|
||||
CreateShortCut "$SMPROGRAMS\Cmder\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
|
||||
CreateShortCut "$SMPROGRAMS\Cmder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||
#CreateShortCut "$SMPROGRAMS\Cmder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||
|
||||
!ifdef WEB_SITE
|
||||
WriteIniStr "$INSTDIR\${APP_NAME} website.url" "InternetShortcut" "URL" "${WEB_SITE}"
|
||||
@ -14274,7 +14274,7 @@ Delete "$INSTDIR\${APP_NAME} website.url"
|
||||
!ifdef REG_START_MENU
|
||||
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $SM_Folder
|
||||
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk"
|
||||
Delete "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk"
|
||||
#Delete "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk"
|
||||
!ifdef WEB_SITE
|
||||
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk"
|
||||
!endif
|
||||
@ -14283,7 +14283,7 @@ RmDir "$SMPROGRAMS\$SM_Folder"
|
||||
|
||||
!ifndef REG_START_MENU
|
||||
Delete "$SMPROGRAMS\Cmder\${APP_NAME}.lnk"
|
||||
Delete "$SMPROGRAMS\Cmder\Uninstall ${APP_NAME}.lnk"
|
||||
#Delete "$SMPROGRAMS\Cmder\Uninstall ${APP_NAME}.lnk"
|
||||
!ifdef WEB_SITE
|
||||
Delete "$SMPROGRAMS\Cmder\${APP_NAME} Website.lnk"
|
||||
!endif
|
||||
|
@ -404,7 +404,7 @@ WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||
CreateDirectory "$SMPROGRAMS\$SM_Folder"
|
||||
CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
|
||||
CreateShortCut "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||
#CreateShortCut "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||
|
||||
!ifdef WEB_SITE
|
||||
WriteIniStr "$INSTDIR\${APP_NAME} website.url" "InternetShortcut" "URL" "${WEB_SITE}"
|
||||
@ -416,7 +416,7 @@ CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk" "$INSTDIR\${APP_
|
||||
!ifndef REG_START_MENU
|
||||
CreateDirectory "$SMPROGRAMS\Cmder"
|
||||
CreateShortCut "$SMPROGRAMS\Cmder\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
|
||||
CreateShortCut "$SMPROGRAMS\Cmder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||
#CreateShortCut "$SMPROGRAMS\Cmder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||
|
||||
!ifdef WEB_SITE
|
||||
WriteIniStr "$INSTDIR\${APP_NAME} website.url" "InternetShortcut" "URL" "${WEB_SITE}"
|
||||
@ -762,7 +762,7 @@ Delete "$INSTDIR\${APP_NAME} website.url"
|
||||
!ifdef REG_START_MENU
|
||||
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $SM_Folder
|
||||
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk"
|
||||
Delete "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk"
|
||||
#Delete "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk"
|
||||
!ifdef WEB_SITE
|
||||
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk"
|
||||
!endif
|
||||
@ -771,7 +771,7 @@ RmDir "$SMPROGRAMS\$SM_Folder"
|
||||
|
||||
!ifndef REG_START_MENU
|
||||
Delete "$SMPROGRAMS\Cmder\${APP_NAME}.lnk"
|
||||
Delete "$SMPROGRAMS\Cmder\Uninstall ${APP_NAME}.lnk"
|
||||
#Delete "$SMPROGRAMS\Cmder\Uninstall ${APP_NAME}.lnk"
|
||||
!ifdef WEB_SITE
|
||||
Delete "$SMPROGRAMS\Cmder\${APP_NAME} Website.lnk"
|
||||
!endif
|
||||
|
16
readme.md
16
readme.md
@ -11,7 +11,7 @@ The goal is to distribute it to [winget](https://docs.microsoft.com/en-us/window
|
||||
1. The [latest release](https://github.com/cmderdev/cmder/releases) archive of Cmder.
|
||||
1. [NSIS](https://nsis.sourceforge.io/Main_Page) installed.
|
||||
|
||||
### Steps
|
||||
### Steps for Installer
|
||||
|
||||
1. Clone the repository
|
||||
1. Create the following directory structure.
|
||||
@ -23,5 +23,17 @@ The goal is to distribute it to [winget](https://docs.microsoft.com/en-us/window
|
||||
1. [Cmder-full-msi](https://github.com/edrohler/cmder-installer/blob/main/installer/full/Cmder-full.nsi)
|
||||
1. Launch NSIS.
|
||||
1. Compile the scripts by navigating to the cloned repo.
|
||||
1. Create a release in repository.
|
||||
1. Installer artifacts from script compilation.
|
||||
|
||||
**More to come...**
|
||||
## Steps to Publish Winget Manifest
|
||||
|
||||
1. Create a new folder for version number under each installer payload e.g. (x.x.x.x).
|
||||
1. Copy previous release manifests to new release folder.
|
||||
1. Edit PackageVersion, InstallerUrl and [hash](https://docs.microsoft.com/en-us/windows/package-manager/winget/hash) with new release number. `winget has -f [FILENAME]`
|
||||
1. Validate manifest with [validate](https://docs.microsoft.com/en-us/windows/package-manager/winget/validate). `winget validate --manifest [FILENAME]`
|
||||
1. Create new branch for release.
|
||||
1. Add release manifests.
|
||||
1. Push changes to fork.
|
||||
1. Squash merge into forked master.
|
||||
1. Create pull request in winget-pkg upstream.
|
||||
|
Loading…
Reference in New Issue
Block a user