mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 05:21:48 +00:00
* Added basic package building stuff * Full mock 1 * Got the thing working Part 1 * Added some signing * Got things working * Starting M1 CI * Got things looking better * Made a fix to env vars * Switched to correct env * Made developer installation * Updates * More updates * Trying again * GOt things fixed * GOt things fixed * GOt things fixed * GOt things fixed * GOt things fixed * GOt things fixed * Trying to get signing to work * Did some cleanup * Did some cleanup * Added fixes * Fixed issues * Updated Jereon library * Updated Jereon library * Remove temp fix * Remove temp fix * Updated things * Added fixes * Made one fix * Added fixes * Trying an ACTION * Final fix * Final fix * Final fix * More fixes * Made small changes * Made small changes * Lets see how far we get * Updated output format * Trying to get signing to work * Trying to get signing to work * Trying to get signing to work * Improved the command * Added fixes * Pls work * Theo is a GOAT * THeo is the BIGGEST GOAT * Got more ready * Maybe intel works now * Renamed to correct thing * Renamed to correct thing * Updated singing * Updated singing * Added fix * Added fix * Added fix * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Added fix * Added fix * Added fix * Added fix * Added fix * Added fix * Added fix * Addede icon generation to CI * Addede icon generation to CI * Addede icon generation to CI * Fixed * Fixed * Fixed * Fixed * Fixed * Update macos_build.yml * Update macos_build.yml * Fixed * Fixed * Fixed
37 lines
1.7 KiB
XML
Vendored
37 lines
1.7 KiB
XML
Vendored
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
<installer-script minSpecVersion="1.000000">
|
|
<title>__PRODUCT__</title>
|
|
<bundle id="1234" path="/"/>
|
|
<background mime-type="image/png" file="background-light.png" scaling="tofit"/>
|
|
<background-darkAqua mime-type="image/png" file="background.png" scaling="tofit"/>
|
|
<welcome file="welcome.html" mime-type="text/html" />
|
|
<license file="LICENSE.txt"/>
|
|
<options customize="never" allow-external-scripts="no"/>
|
|
<installation-check script="installCheck();"/>
|
|
<os-version min="13.1"/>
|
|
<script>
|
|
function installCheck() {
|
|
if(!(system.compareVersions(system.version.ProductVersion, '10.6.0') >= 0)) {
|
|
my.result.title = 'Unable to install';
|
|
my.result.message = '__PRODUCT__ requires Mac OS X 10.6 or later.';
|
|
my.result.type = 'Fatal';
|
|
return false;
|
|
}
|
|
if(system.files.fileExistsAtPath('/Applications/__PRODUCT__/')) {
|
|
my.result.title = 'Previous Installation Detected';
|
|
my.result.message = 'A previous installation of __PRODUCT__ exists at /Applications/__PRODUCT__/. This installer will remove the previous installation prior to installing. Please back up any data before proceeding.';
|
|
my.result.type = 'Warning';
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
</script>
|
|
<choices-outline>
|
|
<line choice="__PRODUCT__.pkg"/>
|
|
</choices-outline>
|
|
<choice id="__PRODUCT__.pkg" title="__PRODUCT__" description="testing" customLocationAllowAlternateVolumes="true" customLocation="/" enabled="true">
|
|
<pkg-ref id="__PRODUCT__.pkg">__PRODUCT__.pkg</pkg-ref>
|
|
</choice>
|
|
<pkg-ref id="__PRODUCT__.pkg">__PRODUCT__.pkg</pkg-ref>
|
|
</installer-script>
|