Introduce two built-in sticker packs: Zozo and Bandit
This commit is contained in:
parent
03d1cc24d6
commit
2df1ba6e61
3 changed files with 22 additions and 13 deletions
|
@ -447,17 +447,7 @@
|
||||||
const themeSetting = window.Events.getThemeSetting();
|
const themeSetting = window.Events.getThemeSetting();
|
||||||
const newThemeSetting = mapOldThemeToNew(themeSetting);
|
const newThemeSetting = mapOldThemeToNew(themeSetting);
|
||||||
|
|
||||||
if (
|
if (window.isBeforeVersion(lastVersion, 'v1.29.2-beta.1')) {
|
||||||
window.isBeforeVersion(lastVersion, 'v1.25.0') &&
|
|
||||||
window.platform === 'darwin' &&
|
|
||||||
newThemeSetting === window.systemTheme
|
|
||||||
) {
|
|
||||||
window.Events.setThemeSetting('system');
|
|
||||||
} else {
|
|
||||||
window.Events.setThemeSetting(newThemeSetting);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (window.isBeforeVersion(lastVersion, 'v1.25.0')) {
|
|
||||||
// Stickers flags
|
// Stickers flags
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
storage.put('showStickersIntroduction', true),
|
storage.put('showStickersIntroduction', true),
|
||||||
|
@ -473,6 +463,16 @@
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
window.isBeforeVersion(lastVersion, 'v1.25.0') &&
|
||||||
|
window.platform === 'darwin' &&
|
||||||
|
newThemeSetting === window.systemTheme
|
||||||
|
) {
|
||||||
|
window.Events.setThemeSetting('system');
|
||||||
|
} else {
|
||||||
|
window.Events.setThemeSetting(newThemeSetting);
|
||||||
|
}
|
||||||
|
|
||||||
// This one should always be last - it could restart the app
|
// This one should always be last - it could restart the app
|
||||||
if (window.isBeforeVersion(lastVersion, 'v1.15.0-beta.5')) {
|
if (window.isBeforeVersion(lastVersion, 'v1.15.0-beta.5')) {
|
||||||
await window.Signal.Logs.deleteAll();
|
await window.Signal.Logs.deleteAll();
|
||||||
|
|
|
@ -8,7 +8,16 @@
|
||||||
URL
|
URL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const BLESSED_PACKS = {};
|
const BLESSED_PACKS = {
|
||||||
|
'9acc9e8aba563d26a4994e69263e3b25': {
|
||||||
|
key: 'Wm3/OUjCjvubeq+T7MN1xp/DFueAd+0mhnoU0QoPahI=',
|
||||||
|
status: 'installed',
|
||||||
|
},
|
||||||
|
fb535407d2f6497ec074df8b9c51dd1d: {
|
||||||
|
key: 'F+lxwTQDViJ4HS7iSeZHO3dFg3ULaMEbuCt1CcaLbf0=',
|
||||||
|
status: 'installed',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
const { isNumber, pick, reject, groupBy, values } = require('lodash');
|
const { isNumber, pick, reject, groupBy, values } = require('lodash');
|
||||||
const pMap = require('p-map');
|
const pMap = require('p-map');
|
||||||
|
|
|
@ -239,7 +239,7 @@
|
||||||
"rule": "jQuery-load(",
|
"rule": "jQuery-load(",
|
||||||
"path": "js/modules/stickers.js",
|
"path": "js/modules/stickers.js",
|
||||||
"line": "async function load() {",
|
"line": "async function load() {",
|
||||||
"lineNumber": 57,
|
"lineNumber": 66,
|
||||||
"reasonCategory": "falseMatch",
|
"reasonCategory": "falseMatch",
|
||||||
"updated": "2019-04-26T17:48:30.675Z"
|
"updated": "2019-04-26T17:48:30.675Z"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue