Skip to content

Commit

Permalink
Disable the post-install option to launch Pinta, when in silent mode
Browse files Browse the repository at this point in the history
This is required for the Chocolatey package (see https://groups.google.com/g/pinta-project/c/1l-mCx5bt8E/m/SDcN-spXBgAJ)
  • Loading branch information
cameronwhite committed Jan 10, 2022
1 parent dcb5c7a commit 38a7e1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Thanks to the following contributors who worked on this release:
- Fixed errors that could occur if a selection existed but had zero area (e.g. after inverting a full selection) ([#1754440](https://bugs.launchpad.net/pinta/+bug/1754440))
- Hidden layers are now round-tripped correctly for `.ora` files ([#1377566](https://bugs.launchpad.net/pinta/+bug/1377566))
- When saving a `.ora` file, a flattened image (`mergedimage.png`) is now included in the archive. This is required by the spec to accomodate viewer software ([#1377566](https://bugs.launchpad.net/pinta/+bug/1377566))
- When the Windows installer is run in silent mode, the option to launch Pinta after installing is now disabled

## [2.0.1](https://github.com/PintaProject/Pinta/releases/tag/2.0.1) - 2022/01/06

Expand Down
2 changes: 1 addition & 1 deletion installer/windows/installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Source: "bin\win-x64\publish\*"; DestDir: "{app}"; Flags: ignoreversion recurses
Source: "{#GetEnv('LOCALAPPDATA')}\Gtk\3.24.24\*"; Excludes: "gtk.zip,*mm-*.dll"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs

[Run]
Filename: "{app}\Pinta.exe"; Flags: nowait postinstall; Description: "{cm:LaunchProgram,{#ProductName}}"
Filename: "{app}\Pinta.exe"; Flags: nowait postinstall skipifsilent; Description: "{cm:LaunchProgram,{#ProductName}}"

0 comments on commit 38a7e1d

Please sign in to comment.