From 5a0dbb602a2abfc262ba81a80f636ba9cfbcb8c6 Mon Sep 17 00:00:00 2001 From: Victor Tran Date: Wed, 19 Dec 2018 22:56:36 +1100 Subject: AppVeyor CI --- installer/icon-bp.svg | 61 +++++++++++++------------------------- installer/icon.svg | 79 ++++++++++++++++++++++++------------------------- installer/installer.pro | 12 +++++++- installer/metadata.txt | 0 4 files changed, 71 insertions(+), 81 deletions(-) create mode 100644 installer/metadata.txt (limited to 'installer') diff --git a/installer/icon-bp.svg b/installer/icon-bp.svg index 0184f82..a0a8863 100644 --- a/installer/icon-bp.svg +++ b/installer/icon-bp.svg @@ -21,20 +21,20 @@ id="defs2"> + id="linearGradient4531"> + id="stop4527" /> + id="stop4529" /> + style="stroke-width:0.26458332;fill-opacity:1;fill:url(#linearGradient4533)" /> + id="g4545" + transform="matrix(0.35277742,0,0,0.35277778,1.234728,289.76804)" + style="fill:#ffffff;fill-opacity:1"> + id="path4509" + d="M 8,1 C 5.2444986,1 3,3.2444986 3,6 3,6.3875435 3.0546994,6.7605419 3.1386719,7.1230469 l -1.84375,0.9199219 a 0.50005,0.50005 0 0 0 -0.011719,0.00586 l -0.00586,0.00391 a 0.50005,0.50005 0 0 0 -0.037109,0.019531 0.50005,0.50005 0 0 0 -0.00586,0.00391 0.50005,0.50005 0 0 0 -0.035156,0.023437 0.50005,0.50005 0 0 0 -0.00586,0.00586 0.50005,0.50005 0 0 0 -0.033203,0.027344 0.50005,0.50005 0 0 0 -0.00586,0.00586 0.50005,0.50005 0 0 0 -0.029297,0.029297 0.50005,0.50005 0 0 0 -0.00391,0.00586 0.50005,0.50005 0 0 0 -0.03125,0.041016 0.50005,0.50005 0 0 0 -0.023438,0.035156 0.50005,0.50005 0 0 0 -0.00391,0.00586 0.50005,0.50005 0 0 0 -0.017578,0.037109 0.50005,0.50005 0 0 0 -0.00977,0.023437 0.50005,0.50005 0 0 0 -0.00977,0.023438 0.50005,0.50005 0 0 0 -0.00195,0.00781 0.50005,0.50005 0 0 0 -0.011719,0.042969 0.50005,0.50005 0 0 0 -0.00195,0.00586 A 0.50005,0.50005 0 0 0 1.0039062,8.4375 0.50005,0.50005 0 0 0 1,8.4804688 0.50005,0.50005 0 0 0 1,8.4882812 0.50005,0.50005 0 0 0 1,8.4960938 0.50005,0.50005 0 0 0 1,8.5 v 5 a 0.50005,0.50005 0 0 0 0.4238281,0.494141 l 6.5,1 A 0.50005,0.50005 0 0 0 8.0078125,15 5,5 0 0 1 7,12 5,5 0 0 1 8.0136719,8.9921875 L 8,8.9941406 4.9140625,8.5195312 C 4.3513698,7.830667 4,6.9623202 4,6 4,3.7849387 5.7849387,2 8,2 c 2.215061,0 4,1.7849387 4,4 0,0.3509693 -0.06176,0.6840379 -0.148438,1.0058594 A 5,5 0 0 1 12,7 5,5 0 0 1 12.869141,7.0800781 C 12.947627,6.7308689 13,6.3724851 13,6 13,3.2444986 10.755501,1 8,1 Z M 8,4 C 6.9013528,4 6,4.9013528 6,6 6,7.0986472 6.9013528,8 8,8 9.0986472,8 10,7.0986472 10,6 10,4.9013528 9.0986472,4 8,4 Z M 8,5 C 8.5582071,5 9,5.4417929 9,6 9,6.5582071 8.5582071,7 8,7 7.4417929,7 7,6.5582071 7,6 7,5.4417929 7.4417929,5 8,5 Z" + style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + inkscape:connector-curvature="0" /> - - - - - - + inkscape:connector-curvature="0" + id="path4490" + d="m 8,12 a 4,4 0 0 0 4,4 4,4 0 0 0 4,-4 4,4 0 0 0 -4,-4 4,4 0 0 0 -4,4 z m 1,-1.003906 a 0.50005,0.50005 0 0 1 0.5,-0.515625 h 5 a 0.50005,0.50005 0 0 1 0.353516,0.853515 l -2.5,2.5 a 0.50005,0.50005 0 0 1 -0.707032,0 l -2.4999996,-2.5 A 0.50005,0.50005 0 0 1 9,10.996094 Z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> diff --git a/installer/icon.svg b/installer/icon.svg index 77407b4..bb12a28 100644 --- a/installer/icon.svg +++ b/installer/icon.svg @@ -20,27 +20,26 @@ + inkscape:collect="always" + id="linearGradient4531"> + id="stop4527" /> + id="stop4529" /> + y1="297" + x2="8.4666662" + y2="288.53333" + gradientUnits="userSpaceOnUse" /> + - - - - + id="g4545" + transform="matrix(0.35277742,0,0,0.35277778,1.234728,289.76804)" + style="fill:#ffffff;fill-opacity:1"> + + diff --git a/installer/installer.pro b/installer/installer.pro index 2ab71aa..57cd84b 100644 --- a/installer/installer.pro +++ b/installer/installer.pro @@ -29,7 +29,14 @@ DEFINES += QT_DEPRECATED_WARNINGS #This will create an installer for theSlate. Change this URL to a different one to change what is installed. #Also change the branding files. -DEFINES += INSTALLER_METADATA_URL=\\\"http://vicr123.com/theslate/theinstaller/installer.json\\\" + +if (!exists($$_PRO_FILE_PWD_/metadata.txt)) { + error(Metadata file not found. Create a metadata.txt file in the same directory as installer.pro containing the URL of a metadata file.) +} + +METADATA_URL = "$$cat($$_PRO_FILE_PWD_/metadata.txt)" +message(Configuring theInstaller for metadata URL $$METADATA_URL) +DEFINES += INSTALLER_METADATA_URL=\\\"$$METADATA_URL\\\" SOURCES += \ main.cpp \ @@ -215,3 +222,6 @@ win32 { RESOURCES += \ resources.qrc +DISTFILES += \ + metadata.txt + diff --git a/installer/metadata.txt b/installer/metadata.txt new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3