mirror of
https://github.com/felixrieseberg/macintosh.js.git
synced 2024-12-28 02:32:13 +00:00
build: Build with disk attached
This commit is contained in:
parent
5cc57acde1
commit
292b4ed553
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -68,6 +68,12 @@ jobs:
|
||||
with:
|
||||
fileName: 'win-certificate.pfx'
|
||||
encodedString: ${{ secrets.WINDOWS_CODESIGN_P12 }}
|
||||
- name: Download disk image (ps1)
|
||||
run: & tools/download-disk.ps1
|
||||
if: matrix.os == 'windows-latest'
|
||||
- name: Download disk image (sh)
|
||||
run: chmod +x tools/download-disk.sh && ./tools/download-disk.sh
|
||||
if: matrix.os != 'windows-latest'
|
||||
- name: Install
|
||||
run: yarn
|
||||
- name: Make
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
This is Mac OS 8, running in an [Electron](https://electronjs.org/) app. Yes, it's the full thing. I'm sorry.
|
||||
|
||||
![Screenshot](https://user-images.githubusercontent.com/1426799/88608634-0f7f4880-d037-11ea-8d3d-c2a5ef3a99d5.png)
|
||||
![Screenshot](https://user-images.githubusercontent.com/1426799/88612692-a1d81a00-d040-11ea-85c9-c64142c503d5.jpg)
|
||||
|
||||
## Downloads
|
||||
|
||||
|
6
tools/download-disk.ps1
Normal file
6
tools/download-disk.ps1
Normal file
@ -0,0 +1,6 @@
|
||||
cd src/basilisk
|
||||
Start-FileDownload $env:DISK_URL -FileName disk.zip -Timeout 600000
|
||||
7z x disk.zip -y -aoa
|
||||
Remove-Item disk.zip
|
||||
cd ../..
|
||||
Tree ./src/basilisk /F
|
8
tools/download-disk.sh
Normal file
8
tools/download-disk.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cd src/basilisk
|
||||
wget -O disk.zip $DISK_URL
|
||||
unzip -o disk.zip
|
||||
rm disk.zip
|
||||
ls -al
|
||||
cd -
|
@ -1,3 +0,0 @@
|
||||
#!/bin/bash -xe
|
||||
|
||||
yarn make --skip-package --platform $PLATFORM --targets=@electron-forge/maker-$MAKER
|
Loading…
Reference in New Issue
Block a user