Skip to content

TagSpaces is an offline, open source, document manager with tagging support

updating files for the build scripting

uggrock31ac14e02897
diff --git a/data/electron/background.png b/data/electron/background.png
new file mode 100644
index 000000000..f39e41e11
Binary files /dev/null and b/data/electron/background.png differ
diff --git a/data/electron/icon.icns b/data/electron/icon.icns
new file mode 100644
index 000000000..ec189e14c
Binary files /dev/null and b/data/electron/icon.icns differ
diff --git a/data/electron/icon.ico b/data/electron/icon.ico
new file mode 100644
index 000000000..d47dd6f6d
Binary files /dev/null and b/data/electron/icon.ico differ
diff --git a/data/electron/package.tmpl.json b/data/electron/package.tmpl.json
index 174651855..f5a901d27 100644
--- a/data/electron/package.tmpl.json
+++ b/data/electron/package.tmpl.json
@@ -1,12 +1,23 @@
{
"name": "@@APPNAME",
"description": "@@APPDESCRIPTION",
+ "author": "TagSpaces UG (haftungsbeschraenkt) <[email protected]>",
"version": "@@VERSION.@@BUILD",
"main": "electron/main.js",
"dependencies": {
"fs-extra": "~0.24.0"
},
+ "build": {
+ "app-bundle-id": "TagSpaces",
+ "app-category-type": "your.app.category.type",
+ "platform": "linux",
+ "arch": "all",
+ "icon": "build/icon"
+ },
"scripts": {
+ "postinstall": "install-app-deps",
+ "pack": "build",
+ "dist": "build",
"start": "electron .",
"test": "electron . -d"
}
diff --git a/data/js/settings.default.js b/data/js/settings.default.js
index 0aaa409df..3b7d67f5c 100644
--- a/data/js/settings.default.js
+++ b/data/js/settings.default.js
@@ -8,7 +8,7 @@ define(function (require, exports, module) {
"appName": "TagSpaces",
"appVersion": "2.1",
"appBuild": "3",
- "appBuildID": "20160227230919",
+ "appBuildID": "20160307103048",
"settingsVersion": 2,
"newTextFileContent": "",
"newHTMLFileContent": "<!DOCTYPE html><html><head><!-- Created with TagSpaces 2.1.3 --><meta http-equiv='Content-Type' content='text/html; charset=utf-8'><style type='text/css'>body{overflow:auto;width:100%;height:100%;font:13.34px Ubuntu,arial,clean,sans-serif;color:#000;line-height:1.4em;background-color:#fff;padding:15px}p{margin:1em 0;line-height:1.5em}table{font:100%;margin:1em}table th{border-bottom:1px solid #bbb;padding:.2em 1em}table td{border-bottom:1px solid #ddd;padding:.2em 1em}input[type=image],input[type=password],input[type=text],textarea{font:99% helvetica,arial,freesans,sans-serif}option,select{padding:0 .25em}optgroup{margin-top:.5em}code,pre{font:12px Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace}pre{margin:1em 0;font-size:12px;background-color:#eee;border:1px solid #ddd;padding:5px;line-height:1.5em;color:#444;overflow:auto;-webkit-box-shadow:rgba(0,0,0,.07) 0 1px 2px inset;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre code{padding:0;font-size:12px;background-color:#eee;border:none}code{font-size:12px;background-color:#f8f8ff;color:#444;padding:0 .2em;border:1px solid #dedede}img{border:0;max-width:100%}abbr{border-bottom:none}a{color:#4183c4;text-decoration:none}a:hover{text-decoration:underline}a code,a:link code,a:visited code{color:#4183c4}h2,h3{margin:1em 0}h1,h2,h3,h4,h5,h6{border:0}h1{font-size:170%;border-top:4px solid #aaa;padding-top:.5em;margin-top:1.5em}h1:first-child{margin-top:0;padding-top:.25em;border-top:none}h2{font-size:150%;margin-top:1.5em;border-top:4px solid #e0e0e0;padding-top:.5em}h3{font-size:130%;margin-top:1em}h4{font-size:120%;margin-top:1em}h5{font-size:115%;margin-top:1em}h6{font-size:110%;margin-top:1em}hr{border:1px solid #ddd}ol,ul{margin:1em 0 1em 2em}ol li,ul li{margin-top:.5em;margin-bottom:.5em}ol ol,ol ul,ul ol,ul ul{margin-top:0;margin-bottom:0}blockquote{margin:1em 0;border-left:5px solid #ddd;padding-left:.6em;color:#555}dt{font-weight:700;margin-left:1em}dd{margin-left:2em;margin-bottom:1em}</style></head><body></body></html>",
@@ -96,7 +96,7 @@ define(function (require, exports, module) {
{ "type": "bmp", "viewer": "viewerImage", "editor": "false" },
{ "type": "ico", "viewer": "viewerImage", "editor": "false" },
{ "type": "svg", "viewer": "viewerImage", "editor": "editorText" },
- { "type": "pdf", "viewer": "viewerBrowser", "editor": "false" },
+ { "type": "pdf", "viewer": "viewerPDF", "editor": "false" },
{ "type": "epub", "viewer": "viewerEPUB", "editor": "false" },
{ "type": "html", "viewer": "viewerHTML", "editor": "editorHTML" },
{ "type": "htm", "viewer": "viewerHTML", "editor": "editorHTML" },
diff --git a/data/mozilla/mozilla.package.tmpl.json b/data/mozilla/mozilla.package.tmpl.json
index 11c86a880..cae08f178 100644
--- a/data/mozilla/mozilla.package.tmpl.json
+++ b/data/mozilla/mozilla.package.tmpl.json
@@ -23,7 +23,7 @@
"url": "https://github.com/tagspaces/tagspaces.git"
},
"keywords": [
- "file manager"
+ "file manager", "file organizer"
],
"dependencies": {},
"devDependencies": {
@@ -45,6 +45,10 @@
},
"private": true,
"scripts": {
- "start": "cd data && npm start"
+ "start": "cd data && npm start",
+ "debug": "cd data && electron . --debug",
+ "webdav": "cd data && cd web && node webdavserver.js",
+ "firefoxdev": "cfx run -b ~/Apps/firefoxdev/firefox -p ../mozprofile",
+ "firefox": "cfx run -p ../mozprofile --static-args='{ \"disableStrict\": true }'"
}
}
diff --git a/data/package.json b/data/package.json
index 7d6744a9e..523362dff 100644
--- a/data/package.json
+++ b/data/package.json
@@ -1,12 +1,23 @@
{
"name": "TagSpaces",
"description": "Offline document organizer and browser for your local files, supporting easy file tagging and document editing.",
+ "author": "TagSpaces UG <[email protected]>",
"version": "2.1.3",
"main": "electron/main.js",
"dependencies": {
"fs-extra": "~0.24.0"
},
+ "build": {
+ "app-bundle-id": "TagSpaces",
+ "app-category-type": "your.app.category.type",
+ "platform": "linux",
+ "arch": "all",
+ "icon": "build/icon"
+ },
"scripts": {
+ "postinstall": "install-app-deps",
+ "pack": "build",
+ "dist": "build",
"start": "electron .",
"test": "electron . -d"
}
diff --git a/package.json b/package.json
index ba356709c..2f3a4714b 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"version": "2.1.3",
"mainversion": "2.1",
"subversion": "3",
- "buildid": "20160227230919",
+ "buildid": "20160307103048",
"fullName": "TagSpaces",
"id": "jid1-FBaMKxTifTSahQ",
"lib": "data/mozilla",