[gimp/wip/Jehan/installer-to-windows-store] build: test!
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/installer-to-windows-store] build: test!
- Date: Sun, 5 Jun 2022 23:25:40 +0000 (UTC)
commit 741fc4023d9ac86fdda8dbe81895d6f49cf803dd
Author: Jehan <jehan girinstud io>
Date: Mon Jun 6 01:25:08 2022 +0200
build: test!
build/windows/installer/gimp3264.iss | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/build/windows/installer/gimp3264.iss b/build/windows/installer/gimp3264.iss
index 6eaf6cd218..f7f6d8adba 100755
--- a/build/windows/installer/gimp3264.iss
+++ b/build/windows/installer/gimp3264.iss
@@ -897,6 +897,21 @@ begin
SuppressibleMsgBox(FmtMessage(CustomMessage('ErrorChangingEnviron'),[EnvFile]),mbInformation,mb_ok,IDOK);
end;
end;
+
+ // Disable check-update when run with specific option
+ if ExpandConstant('{param:disablecheckupdate|false}') = 'true' then
+ begin
+ ReleaseFile := ExpandConstant('{app}\share\gimp\{#DIR_VER}\gimp-release');
+ DebugMsg('DisableCheckUpdate','Disabling check-update in ' + ReleaseFile);
+
+ KeyVal := 'check-update=false'
+
+ if not SaveStringToUTF8File(ReleaseFile,KeyVal,True) then
+ begin
+ DebugMsg('PrepareGimpEnvironment','Problem appending');
+
SuppressibleMsgBox(FmtMessage(CustomMessage('ErrorChangingEnviron'),[ReleaseFile]),mbInformation,mb_ok,IDOK);
+ end;
+ end;
end;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]