[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:59:11 +0000 (UTC)
commit f09046900927c778ee4a6aaa107b8ec06937cb3b
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..ebeaf320fe 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
+ EnvFile := ExpandConstant('{app}\share\gimp\{#DIR_VER}\gimp-release');
+ DebugMsg('DisableCheckUpdate','Disabling check-update in ' + EnvFile);
+
+ Env := 'check-update=false'
+
+ if not SaveStringToUTF8File(EnvFile,Env,True) then
+ begin
+ DebugMsg('PrepareGimpEnvironment','Problem appending');
+
SuppressibleMsgBox(FmtMessage(CustomMessage('ErrorChangingEnviron'),[EnvFile]),mbInformation,mb_ok,IDOK);
+ end;
+ end;
end;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]