Skip to content

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

rename chromelight to chromium

uggrock20f923bc3256
diff --git a/data/chromelight/ChromeAllowAccessFileURLs.png b/data/chromium/ChromeAllowAccessFileURLs.png
similarity index 100%
rename from data/chromelight/ChromeAllowAccessFileURLs.png
rename to data/chromium/ChromeAllowAccessFileURLs.png
diff --git a/data/chromelight/background.js b/data/chromium/background.js
similarity index 100%
rename from data/chromelight/background.js
rename to data/chromium/background.js
diff --git a/data/chromelight/captureContent.js b/data/chromium/captureContent.js
similarity index 100%
rename from data/chromelight/captureContent.js
rename to data/chromium/captureContent.js
diff --git a/data/chromelight/chrome.api.js b/data/chromium/chrome.api.js
similarity index 100%
rename from data/chromelight/chrome.api.js
rename to data/chromium/chrome.api.js
diff --git a/data/chromelight/chrome.manifest.tmpl.json b/data/chromium/chrome.manifest.tmpl.json
similarity index 74%
rename from data/chromelight/chrome.manifest.tmpl.json
rename to data/chromium/chrome.manifest.tmpl.json
index 09356b312..095870cb2 100644
--- a/data/chromelight/chrome.manifest.tmpl.json
+++ b/data/chromium/chrome.manifest.tmpl.json
@@ -26,5 +26,15 @@
"downloads"
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
+ "commands": {
+ "_execute_browser_action": {
+ "suggested_key": {
+ "windows": "Ctrl+Shift+S",
+ "mac": "Command+Shift+S",
+ "chromeos": "Ctrl+Shift+S",
+ "linux": "Ctrl+Shift+S"
+ }
+ }
+ },
"homepage_url": "http://tagspaces.org"
}
\ No newline at end of file
diff --git a/data/chromelight/popup.html b/data/chromium/popup.html
similarity index 100%
rename from data/chromelight/popup.html
rename to data/chromium/popup.html
diff --git a/data/chromelight/popup.js b/data/chromium/popup.js
similarity index 99%
rename from data/chromelight/popup.js
rename to data/chromium/popup.js
index 315c802dd..b078f67f9 100644
--- a/data/chromelight/popup.js
+++ b/data/chromium/popup.js
@@ -46,7 +46,7 @@
$("#saveSelectionAsHtml").on("click", function() {
chrome.tabs.executeScript(null, {
- file: "chromelight/captureContent.js"
+ file: "chromium/captureContent.js"
}, function() {
if (chrome.extension.lastError) {
console.log('There was an error injecting script : \n' + chrome.extension.lastError.message);
diff --git a/data/loader.js b/data/loader.js
index 54f34694b..63af4a650 100644
--- a/data/loader.js
+++ b/data/loader.js
@@ -45,7 +45,7 @@ if( isFirefox ) {
} else if ( isFirefoxOS ) {
IO_JS = "mozilla/firefoxos.api";
} else if ( isChrome ) {
- IO_JS = "chromelight/chrome.api";
+ IO_JS = "chromium/chrome.api";
} else if (isNode){
IO_JS = "node-webkit/node-webkit.api";
} else if (isCordova){