Browse Source

release/dist/synology: remove 'version' field from ui/config

As far as I can tell from the DSM documentation and known undocumented
fields, there is no 'version' field in this config file that DSM cares
about.

Updates #8232

Signed-off-by: David Anderson <[email protected]>
David Anderson 2 years ago
parent
commit
4a58b1c293
2 changed files with 1 additions and 2 deletions
  1. 0 1
      release/dist/synology/files/config
  2. 1 1
      release/dist/synology/pkgs.go

+ 0 - 1
release/dist/synology/files/config

@@ -2,7 +2,6 @@
 	".url": {
 		"SYNO.SDS.Tailscale": {
 			"type": "url",
-			"version": "1.8.3",
 			"title": "Tailscale",
 			"icon": "PACKAGE_ICON_256.PNG",
 			"url": "webman/3rdparty/Tailscale/",

+ 1 - 1
release/dist/synology/pkgs.go

@@ -176,7 +176,7 @@ func (m *synologyBuilds) buildInnerPackage(b *dist.Build, dsmVersion int, goenv
 			static(fmt.Sprintf("logrotate-dsm%d", dsmVersion), "conf/logrotate.conf", 0644),
 			dir("ui"),
 			static("PACKAGE_ICON_256.PNG", "ui/PACKAGE_ICON_256.PNG", 0644),
-			static("config", "ui/config", 0644), // TODO: this has "1.8.3" hard-coded in it; why? what is it? bug?
+			static("config", "ui/config", 0644),
 			static("index.cgi", "ui/index.cgi", 0755))
 		if err != nil {
 			return nil, err