Skip to content

Commit

Permalink
Merge pull request #171 from bart-d/1.0.28-buildfixes
Browse files Browse the repository at this point in the history
1.0.28 build fixes
  • Loading branch information
bart-d authored Nov 10, 2020
2 parents 218f22b + 71e6ecd commit 395cdf9
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
4 changes: 2 additions & 2 deletions app/html/controlcharacters.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<title>Control characters</title>
<link rel="stylesheet" href="../css/global.css">
<link rel="stylesheet" href="../css/controlcharacters.css">
<script src="../windows/controlcharacters.js"></script>
</head>
<body>
<div id="content">
Expand All @@ -16,11 +15,12 @@
unexpected broken or empty lines. If you care about compability and wish your creation to be perceived as created, it would be
best to avoid these characters.</p>
</div>
<img src="../../build/png/controlcharacters.png" />
<img id="img_cc" src="" />
<div id = "button_container">
<button id = "cancel" type = "button">Cancel</button>
<button id = "ok" class = "default" type = "button">OK</button>
</div>
<p>Press Cancel to return to the document, press OK to continue with saving.</p>
</body>
<script src="../windows/controlcharacters.js"></script>
</html>
2 changes: 2 additions & 0 deletions app/windows/controlcharacters.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ document.addEventListener("DOMContentLoaded", (event) => {
document.getElementById("cancel").addEventListener("click", event => cancel(), true);
}, true);

document.getElementById("img_cc").src=`${process.resourcesPath}/png/controlcharacters.png`;

electron.ipcRenderer.on("ok", (event) => ok());
electron.ipcRenderer.on("cancel", (event) => cancel());

Expand Down
5 changes: 4 additions & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ extraResources:
- from: build/ans
to: ans
filter: "*.ans"
- from: build/png
to: png
filter: "*.png"
fileAssociations:
- ext: .ans
name: ANSI Art
Expand Down Expand Up @@ -52,4 +55,4 @@ linux:
target: deb
description: Moebius is a new ANSI and ASCII Editor for Linux, MacOS, and Windows. The major feature that differentiates it from PabloDraw is the 'half-block' brush which allows editing in a style closer to Photoshop than a text editor, although you can still use the function and cursor keys to draw with, and you should find that most of the text editing features from PabloDraw are carried over to this editor.
category: Graphics
electronVersion: 8.3.0
electronVersion: 8.5.2
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"license": "Apache-2.0",
"devDependencies": {
"browserify": "^16.5.1",
"electron": "^8.5.2",
"electron": "^8.5.3",
"electron-builder": "^22.6.0",
"express": "^4.17.1"
},
Expand Down

0 comments on commit 395cdf9

Please sign in to comment.