Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update squirrel windows to 2.0.1 #56

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Squirrel.Windows/7z-arm64.dll
Binary file not shown.
Binary file added Squirrel.Windows/7z-arm64.exe
Binary file not shown.
Binary file added Squirrel.Windows/7z-x64.dll
Binary file not shown.
Binary file added Squirrel.Windows/7z-x64.exe
Binary file not shown.
Empty file modified Squirrel.Windows/Microsoft.Deployment.Resources.dll
100755 → 100644
Empty file.
Empty file modified Squirrel.Windows/Microsoft.Deployment.WindowsInstaller.dll
100755 → 100644
Empty file.
Binary file modified Squirrel.Windows/Setup.exe
Binary file not shown.
Binary file added Squirrel.Windows/Setup.pdb
Binary file not shown.
Binary file added Squirrel.Windows/Squirrel-Mono.exe
Binary file not shown.
Binary file added Squirrel.Windows/Squirrel-Mono.pdb
Binary file not shown.
File renamed without changes.
Binary file added Squirrel.Windows/Squirrel.exe
Binary file not shown.
Binary file added Squirrel.Windows/Squirrel.pdb
Binary file not shown.
Binary file modified Squirrel.Windows/StubExecutable.exe
100755 → 100644
Binary file not shown.
Binary file modified Squirrel.Windows/SyncReleases.exe
Binary file not shown.
Binary file modified Squirrel.Windows/SyncReleases.pdb
Binary file not shown.
Binary file removed Squirrel.Windows/Update-Mono.exe
Binary file not shown.
Binary file removed Squirrel.Windows/Update-Mono.pdb
Binary file not shown.
Binary file removed Squirrel.Windows/Update.exe
Binary file not shown.
Binary file removed Squirrel.Windows/Update.pdb
Binary file not shown.
Empty file modified Squirrel.Windows/WixNetFxExtension.dll
100755 → 100644
Empty file.
Binary file modified Squirrel.Windows/WriteZipToSetup.exe
100755 → 100644
Binary file not shown.
Binary file added Squirrel.Windows/WriteZipToSetup.pdb
Binary file not shown.
Empty file modified Squirrel.Windows/candle.exe
100755 → 100644
Empty file.
Empty file modified Squirrel.Windows/darice.cub
100755 → 100644
Empty file.
Binary file removed Squirrel.Windows/install-spinner.gif
Binary file not shown.
Empty file modified Squirrel.Windows/light.exe
100755 → 100644
Empty file.
Binary file added Squirrel.Windows/nuget.exe
Binary file not shown.
Binary file added Squirrel.Windows/rcedit.exe
Binary file not shown.
Binary file added Squirrel.Windows/signtool.exe
Binary file not shown.
21 changes: 11 additions & 10 deletions Squirrel.Windows/template.wxs
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<Product Id="*" Name="{{Title}} Machine-Wide Installer" Language="1033" Version="{{Version}}" UpgradeCode="{{IdAsGuid1}}" Manufacturer="{{Author}}">
<Product Id="*" Name="{{Title}} Deployment Tool" Language="1033" Codepage="{{Codepage}}" Version="!(bind.FileVersion.{{Id}}.exe)" UpgradeCode="{{IdAsGuid1}}" Manufacturer="{{Author}}">

<Package Description="#Description" Comments="Comments" InstallerVersion="200" Compressed="yes"/>
<Media Id="1" Cabinet="contents.cab" EmbedCab="yes" CompressionLevel="high"/>
<Package Description="This package installs a deployment tool for {{Title}}. Not {{Title}} itself. {{Title}} is only installed if a user logs into the machine." InstallScope="perMachine" Comments="Comments" InstallerVersion="200" Compressed="yes" Platform="{{Platform}}"/>
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A later version of this product is already installed. Setup will now exit."/>
<Media Id="1" Cabinet="contents.cab" EmbedCab="yes" CompressionLevel="high"/>

<PropertyRef Id="NETFRAMEWORK45" />

<Condition Message="This application requires .NET Framework 4.5. Please install the .NET Framework then run this installer again.">
<Condition Message="This application requires .NET Framework 4.5 or higher. Please install the latest .NET Framework then run this installer again.">
<![CDATA[Installed OR NETFRAMEWORK45]]>
</Condition>

<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="APPLICATIONROOTDIRECTORY" Name="{{Title}} Installer" />
<Directory Id="{{ProgramFilesFolder}}">
<Directory Id="APPLICATIONROOTDIRECTORY" Name="{{Title}} Deployment" />
</Directory>
</Directory>

<DirectoryRef Id="APPLICATIONROOTDIRECTORY">
<Component Id="{{Id}}.exe" Guid="{{IdAsGuid2}}">
<File Id="{{Id}}.exe" Name="{{Id}}.exe" Source="{{SetupExecutable}}" KeyPath="yes" />
<Component Id="{{Id}}.exe" Guid="{{IdAsGuid2}}" Win64="{{Win64YesNo}}">
<File Id="{{Id}}.exe" Name="{{Id}}DeploymentTool.exe" Source="./Setup.exe" KeyPath="yes"/>
</Component>
</DirectoryRef>

<DirectoryRef Id="TARGETDIR">
<Component Id="RegistryEntries" Guid="{{IdAsGuid3}}">
<Component Id="RegistryEntries" Guid="{{IdAsGuid3}}" Win64="{{Win64YesNo}}">
<RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Run">
<RegistryValue Type="expandable" Name="{{Id}}MachineInstaller" Value="%ProgramFiles%\{{Title}} Installer\{{Id}}.exe --checkInstall" />
<RegistryValue Type="expandable" Name="{{Id}}Deployment" Value="&quot;[#{{Id}}.exe]&quot; --checkInstall" />
</RegistryKey>
</Component>
</DirectoryRef>
Expand Down
Empty file modified Squirrel.Windows/wconsole.dll
100755 → 100644
Empty file.
Empty file modified Squirrel.Windows/winterop.dll
100755 → 100644
Empty file.
Empty file modified Squirrel.Windows/wix.dll
100755 → 100644
Empty file.
13 changes: 7 additions & 6 deletions wine/wine-mac-ia32-and-x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@ set -ex
# Issues with FreeType (works, but list of warnings), in any case 1) we need to bundle also Net framework as part of wine home 2) no need to ia32+x64, to reduce size, the only arch should be used
# So, for now our existing wine 2.0.3 is used on macOS

rm -rf /tmp/wine-stage
mkdir -p /tmp/wine-stage/wine
cd /tmp/wine-stage/wine
TMP_WINE=/tmp/wine-stage-all
rm -rf $TMP_WINE
mkdir -p $TMP_WINE/wine
cd $TMP_WINE/wine

WINE_VERSION=4.0.1
WINE_VERSION=5.0
curl https://dl.winehq.org/wine-builds/macosx/pool/portable-winehq-stable-$WINE_VERSION-osx64.tar.gz | tar xz

cd usr
cd $TMP_WINE/wine/usr

unlink bin/wine

# prepare wine home
WINEPREFIX=/tmp/wine-stage/wine/usr/wine-home WINEARCH=win64 ./bin/wineboot --init
WINEPREFIX=$TMP_WINE/wine/usr/wine-home WINEARCH=win64 ./bin/wineboot --init

rm -rf share/man
rm -rf share/doc
Expand Down
6 changes: 3 additions & 3 deletions wine/wine-only-x64.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/usr/bin/env bash
set -e
set -ex

# custom homebrew prefix and DYLD_FALLBACK_LIBRARY_PATH doesn't work due to unknown reasons on Travis
# homebrew bottle and DYLD_FALLBACK_LIBRARY_PATH doesn't work due to not found library on Travis
# so, we just build it without brew http://mybyways.com/blog/compiling-wine-from-scratch-on-macos-with-retina-mode
# also, we build very minimal wine (~ 15 MB compressed)

WINE_VERSION=3.0.3
WINE_VERSION=5.0
LIBPNG_VERSION=1.6.35
# 2.8.1 leads to error - https://forums.gentoo.org/viewtopic-p-8119832.html
FREETYPE_VERSION=2.9.1
FREETYPE_VERSION=2.13.2

rm -rf /tmp/wine-stage
mkdir -p /tmp/wine-stage/wine
Expand Down