mirror of
https://github.com/digarok/install-cadius-action.git
synced 2024-09-06 19:54:33 +00:00
fix documentation and branding for release
This commit is contained in:
parent
2f38947dd8
commit
151b692949
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
||||
node_modules
|
||||
ProDOS*
|
||||
PRODOS*
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# cadius-action
|
||||
# install-cadius-action
|
||||
A Github Action for installing Cadius and allowing you to manipulate ProDOS disk images with it.
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ A Github Action for installing Cadius and allowing you to manipulate ProDOS disk
|
||||
```
|
||||
# This will install Cadius on your Github Runner machine
|
||||
- name: Install Cadius
|
||||
uses: digarok/cadius-action@node
|
||||
uses: digarok/install-cadius-action@master
|
||||
with:
|
||||
include_prodos: true
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: 'cadius-action'
|
||||
name: 'install-cadius-action'
|
||||
description: 'Github Action to set up Cadius for ProDOS disk image manipulation'
|
||||
author: 'Dagen Brock'
|
||||
inputs:
|
||||
@ -7,4 +7,7 @@ inputs:
|
||||
default: 'true'
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'dist/index.js'
|
||||
main: 'dist/index.js'
|
||||
branding:
|
||||
icon: 'save'
|
||||
color: 'blue'
|
||||
|
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -846,7 +846,6 @@ function downloadProdos(cadiusPath) {
|
||||
}
|
||||
console.log(util.format("Downloaded file: ", d2pDownloadPath));
|
||||
try {
|
||||
const spawn = __webpack_require__(129).spawn;
|
||||
const spawnSync = __webpack_require__(129).spawnSync;
|
||||
spawnSync('python3', [d2pDownloadPath, p8DskPath]);
|
||||
const cadiusProcess = spawnSync(cadiusExe, ['extractvolume', 'ProDOS_2_4_2.po', '.'], { encoding: 'utf8' });
|
||||
@ -854,7 +853,7 @@ function downloadProdos(cadiusPath) {
|
||||
}
|
||||
catch (exception) {
|
||||
console.log(exception);
|
||||
console.log("Unagle to complete ProDOS download and extraction.");
|
||||
console.log("Unable to complete ProDOS download and extraction.");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "cadius-action",
|
||||
"name": "install-cadius-action",
|
||||
"version": "0.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "cadius-action",
|
||||
"name": "install-cadius-action",
|
||||
"version": "0.0.0",
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
|
@ -69,7 +69,6 @@ async function downloadProdos(cadiusPath: string) {
|
||||
|
||||
// Now we need to a) convert the image and b) extract the volume file locally
|
||||
try {
|
||||
const spawn = require("child_process").spawn;
|
||||
const spawnSync = require("child_process").spawnSync;
|
||||
|
||||
spawnSync('python3',[d2pDownloadPath, p8DskPath]);
|
||||
@ -77,7 +76,7 @@ async function downloadProdos(cadiusPath: string) {
|
||||
console.log(cadiusProcess.stdout);
|
||||
} catch (exception) {
|
||||
console.log(exception);
|
||||
console.log("Unagle to complete ProDOS download and extraction.");
|
||||
console.log("Unable to complete ProDOS download and extraction.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user