mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Move icons/ to assets/
There's a default alias for icons/ in apache, https://www.electrictoolbox.com/apache-icons-directory/
This commit is contained in:
parent
5321223240
commit
b324d9d42f
18 changed files with 10 additions and 10 deletions
|
@ -78,13 +78,13 @@ class WebExtUI extends UI {
|
|||
if (this.active) {
|
||||
return chrome.browserAction.setIcon({
|
||||
path: {
|
||||
32: "icons/status-running.png"
|
||||
32: "assets/status-running.png"
|
||||
}
|
||||
});
|
||||
} else {
|
||||
return chrome.browserAction.setIcon({
|
||||
path: {
|
||||
32: "icons/status-on.png"
|
||||
32: "assets/status-on.png"
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ class WebExtUI extends UI {
|
|||
update();
|
||||
return chrome.browserAction.setIcon({
|
||||
path: {
|
||||
32: "icons/status-" + (enabled ? "on" : "off") + ".png"
|
||||
32: "assets/status-" + (enabled ? "on" : "off") + ".png"
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ var debug, snowflake, config, broker, ui, log, dbg, init, update, silenceNotific
|
|||
missingFeature: true
|
||||
});
|
||||
});
|
||||
chrome.browserAction.setIcon({ path: { 32: "icons/status-off.png" } });
|
||||
chrome.browserAction.setIcon({ path: { 32: "assets/status-off.png" } });
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue