π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rename Auth Polkit policy
Neeraj Gupta313ba82f947e
diff --git a/mobile/apps/auth/assets/polkit/io.ente.auth.policy b/mobile/apps/auth/assets/polkit/com.ente.auth.policysimilarity index 86%rename from mobile/apps/auth/assets/polkit/io.ente.auth.policyrename to mobile/apps/auth/assets/polkit/com.ente.auth.policyindex e67ff02183..d4faf9ccda 100644--- a/mobile/apps/auth/assets/polkit/io.ente.auth.policy+++ b/mobile/apps/auth/assets/polkit/com.ente.auth.policy@@ -4,9 +4,9 @@"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd"><policyconfig><vendor>Ente</vendor>- <vendor_url>https://ente.io</vendor_url>+ <vendor_url>https://ente.com</vendor_url>- <action id="io.ente.auth.unlock">+ <action id="com.ente.auth.unlock"><description>Unlock Ente Auth</description><message>Authenticate to unlock Ente Auth.</message><defaults>diff --git a/mobile/apps/auth/linux/packaging/build_rpm.sh b/mobile/apps/auth/linux/packaging/build_rpm.shindex 217a40816a..64657afb7d 100755--- a/mobile/apps/auth/linux/packaging/build_rpm.sh+++ b/mobile/apps/auth/linux/packaging/build_rpm.sh@@ -75,7 +75,7 @@ cp linux/packaging/enteauth.desktop "$STAGING_DIR/usr/share/applications/"# Copy Polkit policy.echo -e "${YELLOW}Copying Polkit policy...${NC}"-install -D -m 0644 assets/polkit/io.ente.auth.policy "$STAGING_DIR/usr/share/polkit-1/actions/io.ente.auth.policy"+install -D -m 0644 assets/polkit/com.ente.auth.policy "$STAGING_DIR/usr/share/polkit-1/actions/com.ente.auth.policy"# Create symlinkecho -e "${YELLOW}Creating symlink...${NC}"diff --git a/mobile/apps/auth/linux/packaging/deb/make_config.yaml b/mobile/apps/auth/linux/packaging/deb/make_config.yamlindex d3c8e08fa8..4051f7ba08 100644--- a/mobile/apps/auth/linux/packaging/deb/make_config.yaml+++ b/mobile/apps/auth/linux/packaging/deb/make_config.yaml@@ -24,11 +24,11 @@ dependencies:- libayatana-ido3-0.4-0postinstall_scripts:- - install -D -o root -g root -m 0644 /usr/share/enteauth/data/flutter_assets/assets/polkit/io.ente.auth.policy /usr/share/polkit-1/actions/io.ente.auth.policy- - if command -v chcon >/dev/null 2>&1; then chcon system_u:object_r:usr_t:s0 /usr/share/polkit-1/actions/io.ente.auth.policy || true; fi+ - install -D -o root -g root -m 0644 /usr/share/enteauth/data/flutter_assets/assets/polkit/com.ente.auth.policy /usr/share/polkit-1/actions/com.ente.auth.policy+ - if command -v chcon >/dev/null 2>&1; then chcon system_u:object_r:usr_t:s0 /usr/share/polkit-1/actions/com.ente.auth.policy || true; fipostuninstall_scripts:- - rm -f /usr/share/polkit-1/actions/io.ente.auth.policy+ - rm -f /usr/share/polkit-1/actions/com.ente.auth.policykeywords:- Authenticationdiff --git a/mobile/apps/auth/linux/packaging/pacman/make_config.yaml b/mobile/apps/auth/linux/packaging/pacman/make_config.yamlindex 80a61cfa92..ffa9523d27 100644--- a/mobile/apps/auth/linux/packaging/pacman/make_config.yaml+++ b/mobile/apps/auth/linux/packaging/pacman/make_config.yaml@@ -31,8 +31,8 @@ supported_mime_type:postinstall_scripts:- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor- update-desktop-database -q- - install -D -o root -g root -m 0644 /usr/share/enteauth/data/flutter_assets/assets/polkit/io.ente.auth.policy /usr/share/polkit-1/actions/io.ente.auth.policy- - if command -v chcon >/dev/null 2>&1; then chcon system_u:object_r:usr_t:s0 /usr/share/polkit-1/actions/io.ente.auth.policy || true; fi+ - install -D -o root -g root -m 0644 /usr/share/enteauth/data/flutter_assets/assets/polkit/com.ente.auth.policy /usr/share/polkit-1/actions/com.ente.auth.policy+ - if command -v chcon >/dev/null 2>&1; then chcon system_u:object_r:usr_t:s0 /usr/share/polkit-1/actions/com.ente.auth.policy || true; fi- if [ ! -e /usr/lib/libsodium.so.23 ]; then- " ln -s /usr/lib/libsodium.so /usr/lib/libsodium.so.23"- fi@@ -43,7 +43,7 @@ postupgrade_scripts:postremove_scripts:- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor- update-desktop-database -q- - rm -f /usr/share/polkit-1/actions/io.ente.auth.policy+ - rm -f /usr/share/polkit-1/actions/com.ente.auth.policy- if [ -e /usr/lib/libsodium.so.23 ]; then- rm /usr/lib/libsodium.so.23- fidiff --git a/mobile/apps/auth/linux/packaging/rpm/make_config.yaml b/mobile/apps/auth/linux/packaging/rpm/make_config.yamlindex 4c87f64cc8..fb2e2186c9 100644--- a/mobile/apps/auth/linux/packaging/rpm/make_config.yaml+++ b/mobile/apps/auth/linux/packaging/rpm/make_config.yaml@@ -20,11 +20,11 @@ requires:- polkitpostinstall_scripts:- - install -D -o root -g root -m 0644 /usr/share/enteauth/data/flutter_assets/assets/polkit/io.ente.auth.policy /usr/share/polkit-1/actions/io.ente.auth.policy- - if command -v chcon >/dev/null 2>&1; then chcon system_u:object_r:usr_t:s0 /usr/share/polkit-1/actions/io.ente.auth.policy || true; fi+ - install -D -o root -g root -m 0644 /usr/share/enteauth/data/flutter_assets/assets/polkit/com.ente.auth.policy /usr/share/polkit-1/actions/com.ente.auth.policy+ - if command -v chcon >/dev/null 2>&1; then chcon system_u:object_r:usr_t:s0 /usr/share/polkit-1/actions/com.ente.auth.policy || true; fipostuninstall_scripts:- - rm -f /usr/share/polkit-1/actions/io.ente.auth.policy+ - rm -f /usr/share/polkit-1/actions/com.ente.auth.policykeywords:- Authentication