[FIX] Auth Desktop (#1235)

## Description

- Add Checksums for mac and windows
- Capitalize ente Auth mostly everywhere
- Ask for installation mode (for all users [admin] or for current user
[non-privileged])
This commit is contained in:
Vishnu Mohandas 2024-03-29 01:30:17 +05:30 committed by GitHub
commit 95ec3098c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 32 additions and 24 deletions

View file

@ -173,6 +173,9 @@ jobs:
- name: Zip Windows EXE and DLLs
run: tar.exe -a -c -f artifacts/ente-${{ github.ref_name }}-windows.zip ente-${{ github.ref_name }}-windows
- name: Generate checksums
run: sha256sum artifacts/ente-* > artifacts/sha256sum-windows
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:
@ -267,6 +270,9 @@ jobs:
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
- name: Generate checksums
run: sha256sum artifacts/ente-* > artifacts/sha256sum-macos
- name: Create a draft GitHub release
uses: ncipollo/release-action@v1
with:

View file

@ -1 +1 @@
ente Authenticator
Ente Authenticator

View file

@ -180,7 +180,7 @@ class _HomePageState extends State<HomePage> {
resizeToAvoidBottomInset: false,
appBar: AppBar(
title: !_showSearchBox
? const Text('ente Auth')
? const Text('Ente Auth')
: TextField(
autofocus: _searchText.isEmpty,
controller: _textController,

View file

@ -24,7 +24,7 @@ Future<void> showEncryptedImportInstruction(BuildContext context) async {
final l10n = context.l10n;
final result = await showDialogWidget(
context: context,
title: l10n.importFromApp("ente Auth"),
title: l10n.importFromApp("Ente Auth"),
body: l10n.importEnteEncGuide,
buttons: [
ButtonWidget(

View file

@ -53,13 +53,13 @@ static void my_application_activate(GApplication *application)
{
GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
gtk_widget_show(GTK_WIDGET(header_bar));
gtk_header_bar_set_title(header_bar, "ente Auth");
gtk_header_bar_set_title(header_bar, "Ente Auth");
gtk_header_bar_set_show_close_button(header_bar, TRUE);
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
}
else
{
gtk_window_set_title(window, "ente Auth");
gtk_window_set_title(window, "Ente Auth");
}
gtk_window_set_default_size(window, 1280, 720);

View file

@ -7,7 +7,7 @@ keywords:
- Authentication
- 2FA
generic_name: ente Auth
generic_name: Ente Auth
categories:
- Utility

View file

@ -55,7 +55,7 @@
/* Begin PBXFileReference section */
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
33CC10ED2044A3C60003C045 /* ente Auth.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ente Auth.app"; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10ED2044A3C60003C045 /* Ente Auth.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Ente Auth.app"; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
@ -122,7 +122,7 @@
33CC10EE2044A3C60003C045 /* Products */ = {
isa = PBXGroup;
children = (
33CC10ED2044A3C60003C045 /* ente Auth.app */,
33CC10ED2044A3C60003C045 /* Ente Auth.app */,
);
name = Products;
sourceTree = "<group>";
@ -192,7 +192,7 @@
);
name = Runner;
productName = Runner;
productReference = 33CC10ED2044A3C60003C045 /* ente Auth.app */;
productReference = 33CC10ED2044A3C60003C045 /* Ente Auth.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

View file

@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "ente Auth.app"
BuildableName = "Ente Auth.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
@ -31,7 +31,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "ente Auth.app"
BuildableName = "Ente Auth.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
@ -54,7 +54,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "ente Auth.app"
BuildableName = "Ente Auth.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
@ -71,7 +71,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "ente Auth.app"
BuildableName = "Ente Auth.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>

View file

@ -5,7 +5,7 @@
// 'flutter create' template.
// The application's name. By default this is also the title of the Flutter window.
PRODUCT_NAME = ente Auth
PRODUCT_NAME = Ente Auth
// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth

View file

@ -8,4 +8,4 @@ contents:
- x: 192
y: 344
type: file
path: ente Auth.app
path: Ente Auth.app

View file

@ -1,6 +1,6 @@
name: ente_auth
description: ente two-factor authenticator
version: 2.0.47+247
version: 2.0.48+248
publish_to: none
environment:

View file

@ -14,9 +14,11 @@ Compression=lzma
SolidCompression=yes
SetupIconFile={{SETUP_ICON_FILE}}
WizardStyle=modern
PrivilegesRequired={{PRIVILEGES_REQUIRED}}
;PrivilegesRequired={{PRIVILEGES_REQUIRED}}
PrivilegesRequiredOverridesAllowed=dialog
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
UninstallDisplayIcon={app}\auth.exe
[Languages]
{% for locale in LOCALES %}

View file

@ -1,9 +1,9 @@
app_id: 9E5F0C93-96A3-4DA9-AE52-1AA6339851FC
publisher: ente.io
publisher_url: https://github.com/ente-io/ente
display_name: ente Auth
display_name: Ente Auth
create_desktop_icon: false
install_dir_name: "{pf}\\Ente Auth"
install_dir_name: "{autopf}\\Ente Auth"
setup_icon_file: ../../assets/icons/auth-icon.ico
script_template: inno_setup.iss
locales:

View file

@ -90,12 +90,12 @@ BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "Ente Technologies, Inc." "\0"
VALUE "FileDescription", "ente Auth" "\0"
VALUE "FileDescription", "Ente Auth" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "ente Auth" "\0"
VALUE "InternalName", "Ente Auth" "\0"
VALUE "LegalCopyright", "Copyright (C) 2024 Ente Technologies, Inc.. All rights reserved." "\0"
VALUE "OriginalFilename", "auth.exe" "\0"
VALUE "ProductName", "ente Auth" "\0"
VALUE "ProductName", "Ente Auth" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0"
END
END

View file

@ -49,7 +49,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command)
{
// [app_links]
if (SendAppLinkToInstance(L"ente Auth"))
if (SendAppLinkToInstance(L"Ente Auth"))
{
return EXIT_SUCCESS;
}
@ -74,7 +74,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow window(project);
Win32Window::Point origin(10, 10);
Win32Window::Size size(1280, 720);
if (!window.Create(L"ente Auth", origin, size))
if (!window.Create(L"Ente Auth", origin, size))
{
return EXIT_FAILURE;
}