File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ support_url="https://github.com/publicarray/synoedit/issues/new"
1212helpurl="https://github.com/publicarray/synoedit/wiki"
1313checksum=""
1414dsmuidir="ui"
15- dsmappname="com.publicarray.synoedit"
15+ dsmappname="SYNO.SDS.SynoEdit.Application"
16+ dsmapppage="SYNO.SDS.SynoEdit.Application"
17+ dsmapplaunchname="SYNO.SDS.SynoEdit.Application"
1618helpurl="https://github.com/publicarray/synoedit"
1719silent_install="yes"
1820silent_upgrade="yes"
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3+ # example: ./build.sh compile amd64; ./build.sh package amd64 apollolake 7.0-4000
4+
35set -eu
46
57# https://originhelp.synology.com/developer-guide/appendix/index.html
@@ -285,7 +287,8 @@ elif [ "$CMD" = "compile" ]; then
285287 _cp
286288 compile " $BUILD_ARCH "
287289elif [ " $CMD " = " package" ]; then
288- package
290+ shift
291+ package " $@ "
289292elif [ " $CMD " = " dev" ]; then
290293 _cp
291294 compile
Original file line number Diff line number Diff line change 11{
22 "defaults": {
33 "run-as": "package"
4- },
5- "join-groupname": "http",
6- "join-pkg-groupnames", [ {"dnscrypt-proxy": "sc-dnscrypt-proxy"} ]
7-
4+ }
85}
Original file line number Diff line number Diff line change @@ -52,10 +52,10 @@ func ReadFile(file string) string {
5252// SaveFile saves the file content (data) to file
5353func SaveFile (file string , data string ) {
5454 // If file exists get file info struct
55- fInfo , err := os .Stat (file )
56- if err != nil {
57- logError (err .Error ())
58- }
55+ // fInfo, err := os.Stat(file)
56+ // if err != nil {
57+ // logError(err.Error())
58+ // }
5959
6060 // Get stat structure (for uid and gid)
6161 // stat := fInfo.Sys().(*syscall.Stat_t)
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import (
3030
3131const (
3232 // AppVersion is the Program Version
33- AppVersion = "0.0.6 "
33+ AppVersion = "0.0.7 "
3434 // DefaultDatabaseFileName is the main file name for database
3535 DefaultDatabaseFileName = "database.toml"
3636 // DefaultLayoutFileName is the html template for the http repose
Original file line number Diff line number Diff line change 44 "type": "legacy",
55 "allUsers": false,
66 "allowMultiInstance": false,
7- "title": "app:displayname ",
8- "desc": "app:description ",
7+ "title": "Syno Edit ",
8+ "desc": "A simple text editor GUI for Synology. JavaScript editor implemented using CodeMirror. ",
99 "icon": "images/synoedit-{0}.png",
1010 "appWindow": "SYNO.SDS.SynoEdit.Application",
1111 "texts": "texts",
Original file line number Diff line number Diff line change 11{
22 "app": "SYNO.SDS.SynoEdit.Application",
3- "title": "add:displayname ",
4- "desc": "app:description ",
3+ "title": "Syno Edit ",
4+ "desc": "A simple text editor GUI for Synology. JavaScript editor implemented using CodeMirror. ",
55 "stringset": "texts",
66 "keywords": [
77 "text",
Original file line number Diff line number Diff line change 11#! /bin/sh
2+ exit 0
Original file line number Diff line number Diff line change 11#! /bin/sh
2+ exit 0
Original file line number Diff line number Diff line change 11#! /bin/sh
2+ exit 0
You can’t perform that action at this time.
0 commit comments