9ad5184453
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
20 lines
850 B
TypeScript
20 lines
850 B
TypeScript
--- electron/spec/api-safe-storage-spec.ts.orig 2023-08-09 14:05:20 UTC
|
|
+++ electron/spec/api-safe-storage-spec.ts
|
|
@@ -26,7 +26,7 @@ describe('safeStorage module', () => {
|
|
|
|
describe('safeStorage module', () => {
|
|
before(() => {
|
|
- if (process.platform === 'linux') {
|
|
+ if (process.platform === 'linux' || process.platform === 'freebsd') {
|
|
safeStorage.setUsePlainTextEncryption(true);
|
|
}
|
|
});
|
|
@@ -44,7 +44,7 @@ describe('safeStorage module', () => {
|
|
});
|
|
});
|
|
|
|
- ifdescribe(process.platform === 'linux')('SafeStorage.getSelectedStorageBackend()', () => {
|
|
+ ifdescribe(process.platform === 'linux' || process.platform === 'freebsd')('SafeStorage.getSelectedStorageBackend()', () => {
|
|
it('should return a valid backend', () => {
|
|
expect(safeStorage.getSelectedStorageBackend()).to.equal('basic_text');
|
|
});
|