Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokidaichi committed Apr 13, 2016
1 parent 033a30f commit 458bce0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
13 changes: 12 additions & 1 deletion README.md
@@ -1,3 +1,14 @@
# guiflow
# guiflow - a text editor for ui flows diagram

![test.gif](https://qiita-image-store.s3.amazonaws.com/0/35671/708be4dc-d96a-5f82-6d9d-61cdd5b941eb.gif "test.gif")


# download

[ver0.1.1](https://github.com/hirokidaichi/guiflow/releases/tag/v_0.1.1)

# see

[もう保守されない画面遷移図は嫌なので、UI Flow図を簡単にマークダウンぽく書くエディタ作った](http://qiita.com/hirokidaichi/items/ff54a968bdd7bcc50d42)


15 changes: 13 additions & 2 deletions js/script.js
@@ -1,9 +1,12 @@
//process.env.NODE_PATH = "./";
if (process.platform == "win32") {
//modulePaths.push();
var p = process.resourcesPath + "\\app.asar";
var p = process.resourcesPath; //+ "\\app";
console.log(p);
module.paths.push(p);
module.paths.unshift(p + "\\app");
module.paths.unshift(p + "\\app.asar");
module.paths.unshift(p + "\\app\\node_modules");
module.paths.unshift(p + "\\app.asar\\node_modules");
}
var resolvePath = function(p) {
if (process.platform == "win32") {
Expand All @@ -12,6 +15,14 @@ var resolvePath = function(p) {
return p;
}
};
var nodeModule = function() {
if (process.platform == "win32") {
return "node_modules/" + p;
} else {
return p;
}

};
var ipcRenderer = require("electron").ipcRenderer;
var remote = require("remote");
var fs = require("fs");
Expand Down

0 comments on commit 458bce0

Please sign in to comment.