Comments (11)
Thats best idea
from privacy.sexy.
So hiding window until loaded is released as part of 0.13.3 π
The packaged application is now arm64 (Apple Silicon) native. So it should run smoth now, feel free to verify this with 0.13.3 @AlexanderDankin.
Itβs weird because I have never configured this arm64 build π
. I guess this is because macOS GitHub runner (CI/CD) agents have been updated automatically to be ARM-based, and this resulted in ARM-only builds. I verify this by running file /Applications/privacy.sexy.app/Contents/MacOS/privacy.sexy
command, which gives me:β¨β¨
/Applications/privacy.sexy.app/Contents/MacOS/privacy.sexy: Mach-O 64-bit executable arm64
This will break desktop application on all other Intel-based macs π€¦. So I will migrate to universal builds for macOS in 0.13.4.
I will also update desktop execution tests (which actually installs the software and ensures it runs OK), to run on both Intel and ARM-based macs to verify that it runs fine on both platforms.
from privacy.sexy.
Hi @AlexanderDankin,
I guess you mean the desktop application. It works fine on M processors for me. What issue did you have?
from privacy.sexy.
There are no problems as such, except for the application taking too long to start up.
I can only speculate, but maybe it's because the application is optimized for
intel processors.
from privacy.sexy.
There are no problems as such, except for the application taking too long to start up. I can only speculate, but maybe it's because the application is optimized for intel processors.
The app is build using ElectronJS which is a framework that utilize web technologies and therefore are not native in the traditional sense. So it lacks performance and is resource intensive
from privacy.sexy.
The binary for macOS is x64, but this gets emulated on Apple that has performance impact:
Native apps run more efficiently than translated apps because the compiler is able to optimize your code for the target architecture. An app that supports only the x86_64 architecture must run under Rosetta translation on Apple silicon
Apple Documentation
π I just added System Requirements docs to clarify this: system-requirements.md.
Solution suggestion 1: Universal packages
So changing macOS releases to universal packages may help with the issue. This seems to be basically packaging ARM and x64 versions together in same file.
@plantindesk is right. Here is the electron-builder configuration. Luckily electron-builder supports universal packages:
- Main issue: electron-userland/electron-builder#5475
- Configuration examples with targeting both
x64
andarm64
: electron-userland/electron-builder#5689, electron-userland/electron-builder#5426 - There seems to be
universal
option which makes it even better: electron-userland/electron-builder#5481
Solution suggestion 2: Do not show the white blank page
Another think we can do is to avoid showing white blank page while application is loading, see this blog post or this for visual examples.
What do you think?
from privacy.sexy.
I think building both arm64 and x64 build for MacOS
from privacy.sexy.
How about hiding the window until HTML/CSS/JS is loaded? I guess this should not be only macOS only but also be part of Windows/Linux versions. Do you see any side-effect having this on Windows/Linux?
I demonstrate this on Linux:
Now (with initial blank page) | After (window hidden until loaded) |
---|---|
from privacy.sexy.
Off topic: Also you use Ubuntu π«€ cause see this https://prism-break.org
from privacy.sexy.
Thank you! Indeed the app started to open much faster.
from privacy.sexy.
Related Issues (20)
- Implement distinctive visual cues to warn of scripts that are known to break something. HOT 19
- [BUG]: Snipping Tool still can be executable via its keyboard shortcut HOT 9
- [BUG]: Remove Windows Apps doesn't fully remove Xbox Apps HOT 2
- [Feature] The search string as query parameters in the URL HOT 8
- [BUG]: When trying to copy a screenshot by sketching a fragment of the screen (ctrl+shift+s), copying does not happen automatically, an error occurs when trying to copy manually. HOT 4
- Disable Copilot keyboard shortcut (Windows key + C) HOT 5
- [BUG]: After applying Standard selection Phone Link is broken HOT 9
- [BUG]: Error Running Script HOT 3
- [BUG]: Something in standard script selection breaks "Forgot my password" on the lock screen
- [Feature] Overall Preview Report Of Privacy HOT 10
- Cannot Login & Windows Event Log service HOT 2
- [BUG]: Cannot Login and Windows Event Log service HOT 5
- Reduce display/screen fingerprinting HOT 1
- [BUG]: Search is still broken even after restore HOT 4
- 0.13.3 DMG on Mac only contains the ARM64 version HOT 2
- Hyper-V VM connection issues after running "Standard" HOT 5
- [BUG]: FYI : Disable "Windows Defender Firewall" service also break Windows Sandbox. HOT 4
- [BUG]: WhatsApp (UWP) not starting HOT 1
- desired state / parsing of generated scripts or separate config HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from privacy.sexy.