File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 7676 if [ -d fonts ]; then
7777 cp -r fonts asciiroids-${{ github.ref_name }}/
7878 fi
79+ echo "Unblock instructions:" > asciiroids-${{ github.ref_name }}/README.txt
80+ echo "=====================" >> asciiroids-${{ github.ref_name }}/README.txt
81+ echo "To tell the gatekeeper that this executable is fine" >> asciiroids-${{ github.ref_name }}/README.txt
82+ echo " you can unblock the executable with" >> asciiroids-${{ github.ref_name }}/README.txt
83+ echo " the following command:" >> asciiroids-${{ github.ref_name }}/README.txt
84+ echo " xattr -dr com.apple.quarantine asciiroids" >> asciiroids-${{ github.ref_name }}/README.txt
7985 # Create zip archive
8086 zip -r asciiroids-${{ github.ref_name }}-macos.zip asciiroids-${{ github.ref_name }}/
8187
Original file line number Diff line number Diff line change 9090 if (Test-Path "fonts") {
9191 Copy-Item -Recurse "fonts" "asciiroids-${{ github.ref_name }}/"
9292 }
93+ echo "Unblock instructions:" > asciiroids-${{ github.ref_name }}/README.txt
94+ echo "=====================" >> asciiroids-${{ github.ref_name }}/README.txt
95+ echo "To tell Windows that this executable is fine" >> asciiroids-${{ github.ref_name }}/README.txt
96+ echo " you can unblock the executable by" >> asciiroids-${{ github.ref_name }}/README.txt
97+ echo " rightclicking the exe, then:" >> asciiroids-${{ github.ref_name }}/README.txt
98+ echo " Properties -> Unblock (check this)." >> asciiroids-${{ github.ref_name }}/README.txt
9399 # Create zip archive
94100 Compress-Archive -Path "asciiroids-${{ github.ref_name }}" -DestinationPath "asciiroids-${{ github.ref_name }}-windows.zip"
95101
You can’t perform that action at this time.
0 commit comments