-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1,297 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# fscw | ||
A toolkit to create a Windows desktop setup for fonts. | ||
# Font Setup Creator for Windows (FSCW) | ||
|
||
Font Setup Creator for Windows (FSCW) is a a toolkit to create a Windows desktop setup for fonts. It is driven by a DATA.ini file | ||
|
||
|
||
## License | ||
Copyright © 2016 [Michael 'Tex' Hex](http://www.texhex.info/) / Source Foundry. Licensed under the **MIT License**. For details, please see [LICENSE.txt](https://github.com/source-foundry/Hack-test-win-installer/blob/master/LICENSE.txt). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# Appveyor build script | ||
# List of installed tools/SDKs etc.: https://www.appveyor.com/docs/installed-software | ||
|
||
version: 1.1.{build} | ||
|
||
# Do not run when just a tag is pushed (which we do automatically by adding a release) | ||
skip_tags: true | ||
|
||
branches: | ||
except: | ||
- gh-pages | ||
|
||
environment: | ||
WORK_PATH: . | ||
TEST_FONTS_BASE_URL: https://github.com/chrissimpkins/Hack/raw/master/build/test_builds | ||
|
||
|
||
install: | ||
# We use CURL from Chocolatey for downloading files. However, curl.exe does not trust | ||
# any CA, hence each SSL download would fail. But there is a PEM archive of all | ||
# root CA allowed by Firefox: https://curl.haxx.se/docs/caextract.html | ||
# We will use PowerShell (which is using the Root CAs in Windows) to download this file | ||
# and then instruct CURL to use it. | ||
# I hope this is proper way to ensure that our https connections are really secure | ||
- md C:\temp | ||
|
||
# Download CA pem file using PowerShell | ||
- ps: (new-object net.webclient).DownloadFile('https://curl.haxx.se/ca/cacert.pem', 'c:\temp\cacert.pem') | ||
# Install CURL using Chocolatey (https://chocolatey.org/packages/curl) | ||
- choco install -y curl | ||
- cd %APPVEYOR_BUILD_FOLDER%\testfonts | ||
# To be sure, delete all old -DEV.ttf files | ||
- del *-DEV.ttf /Q | ||
- dir | ||
|
||
# Download newest version of the font files. | ||
# CURL Options: use our PEM file, follow redirect and use the remote name as the local filename | ||
- curl.exe --cacert C:\temp\cacert.pem --location --remote-name %TEST_FONTS_BASE_URL%/Hack-Regular-DEV.ttf | ||
- curl.exe --cacert C:\temp\cacert.pem --location --remote-name %TEST_FONTS_BASE_URL%/Hack-Italic-DEV.ttf | ||
- curl.exe --cacert C:\temp\cacert.pem --location --remote-name %TEST_FONTS_BASE_URL%/Hack-Bold-DEV.ttf | ||
- curl.exe --cacert C:\temp\cacert.pem --location --remote-name %TEST_FONTS_BASE_URL%/Hack-BoldItalic-DEV.ttf | ||
- dir | ||
|
||
# Download (newest version from US site) and install Inno Setup. | ||
# We are using PowerShell to verify the connection by using the Windows root CAs | ||
- ps: (new-object net.webclient).DownloadFile('http://www.jrsoftware.org/download.php/is.exe?site=1', 'c:\temp\innosetup.exe') | ||
- c:\temp\innosetup.exe TYPE=full /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CLOSEAPPLICATIONS /NORESTARTAPPLICATIONS | ||
# Add Inno Setup to PATH so the ISCC command is found | ||
- set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH% | ||
|
||
|
||
|
||
build_script: | ||
- iscc.exe /DEXTERNAL_VERSION=%APPVEYOR_BUILD_VERSION% %APPVEYOR_BUILD_FOLDER%\src\HackWindowsInstaller.iss | ||
# - dir | ||
|
||
|
||
artifacts: | ||
- path: 'out\*.exe' | ||
name: SetupExe | ||
|
||
deploy: | ||
provider: GitHub | ||
auth_token: | ||
secure: 6Ez1BkZ4iDyoY17CZAwbOcQJcKnn8ZWK3vV2QINglWqgkOFRkN4JCtdMu0fyBFMc | ||
artifact: SetupExe | ||
prerelease: true | ||
tag: v$(appveyor_build_version) | ||
release: Version $(appveyor_build_version) | ||
description: $(APPVEYOR_REPO_COMMIT_MESSAGE) ($(APPVEYOR_REPO_COMMIT_TIMESTAMP)) | ||
|
||
|
||
notifications: | ||
- provider: Slack | ||
auth_token: | ||
secure: ElggvPLQdlcU9+djZsLDZpZLjOOpYg5Y2DRFQGN2yuSrZqoOP/1PCAmUSd8RJjrukymK1FQNrKuSpiw0hLHEeg== | ||
channel: '#release-info' | ||
|
||
#done |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
;DATA file (INI based) for the Inno Setup based installer | ||
|
||
[ID] | ||
;Internal ID for this setup, never displayed. | ||
;Whitespaces are NOT allowed, only a-z, A-Z, 0-9. | ||
UniqueID=HackTestWinInstaller | ||
;IMPORTANT: DO NOT CHANGE THIS VALUE *EVER* ONCE YOU HAVE SET IT | ||
; AND THE INSTALLER HAS BEEN USED BY USERS! | ||
|
||
|
||
[Version] | ||
;Version of the Setup (*NOT* for the Font release). | ||
Version=1.0.0 | ||
;This value can be overwritten by an CI tool during build like this (param EXTERNAL_VERSION): | ||
;iscc.exe /DEXTERNAL_VERSION=%APPVEYOR_BUILD_VERSION% src/YourScriptFile.iss | ||
|
||
;Version of FONT release | ||
FontVersion=2.020 | ||
;This value can be overwritten by an CI tool during build like this (param EXTERNAL_FONT_VERSION): | ||
;iscc.exe /DEXTERNAL_FONT_VERSION=%MY_FONT_BUILD_VERSION% src/YourScriptFile.iss | ||
|
||
|
||
[About] | ||
;Name of the font release. Will be displayed during setup like this: | ||
;Setup is now ready to install the {#FontName} v{#FontVersion} on your system. | ||
FontName=Hack TEST fonts | ||
|
||
;The entity that releases the font and the setup | ||
Publisher=Michael Hex / Source Foundry | ||
|
||
;Copyright for the font/setup. | ||
Copyright=Copyright © 2016 Michael Hex / Source Foundry | ||
|
||
;This URL will be created as web shortcut [Website.lnk} in the destination folder and | ||
;also displayed in the Add/Remove Programs applet. | ||
Website=http://sourcefoundry.org/hack/ | ||
;Internal notice: | ||
;In the old setup, Add/Remove Programs -> Support (AppSupportURL) pointed to https://github.com/source-foundry/Hack-windows-installer' | ||
;File Hack Homepage.lnk (Section ICONS) pointed to http://sourcefoundry.org/hack/ | ||
|
||
|
||
[General] | ||
;Name of the installer, can be changed at any time and is displayed to the user during setup. | ||
;This is also the name that is displayed inside the Add/Remove Programs Applet. | ||
Name=Hack Test Win Installer | ||
|
||
;Name of the resulting EXE file. | ||
;*DO NOT* add the extension (.exe), this will be done by the script. | ||
ExeFile=HackTestWinInstaller | ||
|
||
;Folder name generated in C:\Program Files\. | ||
;This is required as the uninstall information and the log files needs to be stored somewhere. | ||
DestinationFolder=Hack Test Win Installer | ||
|
||
;Icon that will be applied to the resulting setup exe and displayed in Add/Remove Programs applet. | ||
;Can be empty. | ||
Icon= | ||
|
||
;The license file(s) that will be copied to the destination folder (optional, but highly recommended). | ||
;Can be a single file: | ||
;LicenseFile=License.txt | ||
;A single file from a sub folder: | ||
;LicenseFile=lic\License.md | ||
;Several files at once by using wildcards: | ||
;LicenseFile=license*.* | ||
LicenseFile=license*.* | ||
|
||
|
||
;This section defines which fonts should be installed. | ||
[InstallFonts] | ||
;In which sub folder are the font files located (as seen from the base path). | ||
SourceFolder=testfonts | ||
|
||
;How many fonts are in this section we should install. | ||
;This must be number of the last File.X and Name.X entry | ||
Count=4 | ||
|
||
;For Name.X *DO NOT* append "(TrueType)" - The setup will add it automatically. | ||
File.1=Hack-Bold-DEV.ttf | ||
Name.1=Hack Bold | ||
|
||
;For any font that is named "Regular", *DO NOT* add "Regular". Windows assumes "Regular" to not be used. | ||
File.2=Hack-Regular-DEV.ttf | ||
Name.2=Hack | ||
|
||
File.3=Hack-BoldItalic-DEV.ttf | ||
Name.3=Hack Bold Italic | ||
|
||
File.4=Hack-Italic-DEV.ttf | ||
Name.4=Hack Italic | ||
|
||
|
||
;Use this section to remove fonts upon installation, e.g. old versions of your files | ||
;that had different file names or font names. The Count for this section can be zero. | ||
[RemoveFonts] | ||
Count=4 | ||
|
||
;These files are left overs from Hack 2.10 which used different names for italic | ||
|
||
;Again, *DO NOT* append "(TrueType)" for any Name.X entry | ||
File.1=Hack-BoldOblique.ttf | ||
Name.1=Hack Bold Oblique | ||
|
||
File.2=Hack-RegularOblique.ttf | ||
Name.2=Hack Oblique | ||
|
||
File.3=Hack-BoldOblique.otf | ||
Name.3=Hack Bold Oblique | ||
|
||
File.4=Hack-RegularOblique.otf | ||
Name.4=Hack Oblique | ||
|
||
|
||
|
Oops, something went wrong.