mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
cert and https
This commit is contained in:
parent
ad082b68ec
commit
e8b55ebcc6
6 changed files with 68 additions and 18 deletions
|
@ -32,6 +32,10 @@ class Util {
|
|||
console.log(text);
|
||||
};
|
||||
|
||||
dateForFile() {
|
||||
return new Date().toISOString().replace(/:/g, '_').replace(/\..+/, '');
|
||||
};
|
||||
|
||||
// MacOs 12.2 (M1): always returns false regardless current color theme
|
||||
isDarkTheme () {
|
||||
return nativeTheme.shouldUseDarkColors || nativeTheme.shouldUseHighContrastColors || nativeTheme.shouldUseInvertedColorScheme;
|
||||
|
@ -93,8 +97,6 @@ class Util {
|
|||
args.shift();
|
||||
win.webContents.send.apply(win.webContents, args);
|
||||
};
|
||||
|
||||
console.log('[Send]', args);
|
||||
};
|
||||
|
||||
savePage (win, exportPath, name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue