[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:
commit
95ec3098c0
6
.github/workflows/auth-release.yml
vendored
6
.github/workflows/auth-release.yml
vendored
|
@ -173,6 +173,9 @@ jobs:
|
||||||
- name: Zip Windows EXE and DLLs
|
- name: Zip Windows EXE and DLLs
|
||||||
run: tar.exe -a -c -f artifacts/ente-${{ github.ref_name }}-windows.zip ente-${{ github.ref_name }}-windows
|
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
|
- name: Create a draft GitHub release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
|
@ -267,6 +270,9 @@ jobs:
|
||||||
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
||||||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
||||||
|
|
||||||
|
- name: Generate checksums
|
||||||
|
run: sha256sum artifacts/ente-* > artifacts/sha256sum-macos
|
||||||
|
|
||||||
- name: Create a draft GitHub release
|
- name: Create a draft GitHub release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
ente Authenticator
|
Ente Authenticator
|
|
@ -180,7 +180,7 @@ class _HomePageState extends State<HomePage> {
|
||||||
resizeToAvoidBottomInset: false,
|
resizeToAvoidBottomInset: false,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: !_showSearchBox
|
title: !_showSearchBox
|
||||||
? const Text('ente Auth')
|
? const Text('Ente Auth')
|
||||||
: TextField(
|
: TextField(
|
||||||
autofocus: _searchText.isEmpty,
|
autofocus: _searchText.isEmpty,
|
||||||
controller: _textController,
|
controller: _textController,
|
||||||
|
|
|
@ -24,7 +24,7 @@ Future<void> showEncryptedImportInstruction(BuildContext context) async {
|
||||||
final l10n = context.l10n;
|
final l10n = context.l10n;
|
||||||
final result = await showDialogWidget(
|
final result = await showDialogWidget(
|
||||||
context: context,
|
context: context,
|
||||||
title: l10n.importFromApp("ente Auth"),
|
title: l10n.importFromApp("Ente Auth"),
|
||||||
body: l10n.importEnteEncGuide,
|
body: l10n.importEnteEncGuide,
|
||||||
buttons: [
|
buttons: [
|
||||||
ButtonWidget(
|
ButtonWidget(
|
||||||
|
|
|
@ -53,13 +53,13 @@ static void my_application_activate(GApplication *application)
|
||||||
{
|
{
|
||||||
GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
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_header_bar_set_show_close_button(header_bar, TRUE);
|
||||||
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gtk_window_set_title(window, "ente Auth");
|
gtk_window_set_title(window, "Ente Auth");
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_window_set_default_size(window, 1280, 720);
|
gtk_window_set_default_size(window, 1280, 720);
|
||||||
|
|
|
@ -7,7 +7,7 @@ keywords:
|
||||||
- Authentication
|
- Authentication
|
||||||
- 2FA
|
- 2FA
|
||||||
|
|
||||||
generic_name: ente Auth
|
generic_name: Ente Auth
|
||||||
|
|
||||||
categories:
|
categories:
|
||||||
- Utility
|
- Utility
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
|
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>"; };
|
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>"; };
|
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>"; };
|
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>"; };
|
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
|
||||||
|
@ -122,7 +122,7 @@
|
||||||
33CC10EE2044A3C60003C045 /* Products */ = {
|
33CC10EE2044A3C60003C045 /* Products */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
33CC10ED2044A3C60003C045 /* ente Auth.app */,
|
33CC10ED2044A3C60003C045 /* Ente Auth.app */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -192,7 +192,7 @@
|
||||||
);
|
);
|
||||||
name = Runner;
|
name = Runner;
|
||||||
productName = Runner;
|
productName = Runner;
|
||||||
productReference = 33CC10ED2044A3C60003C045 /* ente Auth.app */;
|
productReference = 33CC10ED2044A3C60003C045 /* Ente Auth.app */;
|
||||||
productType = "com.apple.product-type.application";
|
productType = "com.apple.product-type.application";
|
||||||
};
|
};
|
||||||
/* End PBXNativeTarget section */
|
/* End PBXNativeTarget section */
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "ente Auth.app"
|
BuildableName = "Ente Auth.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "ente Auth.app"
|
BuildableName = "Ente Auth.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "ente Auth.app"
|
BuildableName = "Ente Auth.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||||
BuildableName = "ente Auth.app"
|
BuildableName = "Ente Auth.app"
|
||||||
BlueprintName = "Runner"
|
BlueprintName = "Runner"
|
||||||
ReferencedContainer = "container:Runner.xcodeproj">
|
ReferencedContainer = "container:Runner.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
// 'flutter create' template.
|
// 'flutter create' template.
|
||||||
|
|
||||||
// The application's name. By default this is also the title of the Flutter window.
|
// 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
|
// The application's bundle identifier
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth
|
PRODUCT_BUNDLE_IDENTIFIER = io.ente.auth
|
||||||
|
|
|
@ -8,4 +8,4 @@ contents:
|
||||||
- x: 192
|
- x: 192
|
||||||
y: 344
|
y: 344
|
||||||
type: file
|
type: file
|
||||||
path: ente Auth.app
|
path: Ente Auth.app
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: ente_auth
|
name: ente_auth
|
||||||
description: ente two-factor authenticator
|
description: ente two-factor authenticator
|
||||||
version: 2.0.47+247
|
version: 2.0.48+248
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -14,9 +14,11 @@ Compression=lzma
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
SetupIconFile={{SETUP_ICON_FILE}}
|
SetupIconFile={{SETUP_ICON_FILE}}
|
||||||
WizardStyle=modern
|
WizardStyle=modern
|
||||||
PrivilegesRequired={{PRIVILEGES_REQUIRED}}
|
;PrivilegesRequired={{PRIVILEGES_REQUIRED}}
|
||||||
|
PrivilegesRequiredOverridesAllowed=dialog
|
||||||
ArchitecturesAllowed=x64
|
ArchitecturesAllowed=x64
|
||||||
ArchitecturesInstallIn64BitMode=x64
|
ArchitecturesInstallIn64BitMode=x64
|
||||||
|
UninstallDisplayIcon={app}\auth.exe
|
||||||
|
|
||||||
[Languages]
|
[Languages]
|
||||||
{% for locale in LOCALES %}
|
{% for locale in LOCALES %}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
app_id: 9E5F0C93-96A3-4DA9-AE52-1AA6339851FC
|
app_id: 9E5F0C93-96A3-4DA9-AE52-1AA6339851FC
|
||||||
publisher: ente.io
|
publisher: ente.io
|
||||||
publisher_url: https://github.com/ente-io/ente
|
publisher_url: https://github.com/ente-io/ente
|
||||||
display_name: ente Auth
|
display_name: Ente Auth
|
||||||
create_desktop_icon: false
|
create_desktop_icon: false
|
||||||
install_dir_name: "{pf}\\Ente Auth"
|
install_dir_name: "{autopf}\\Ente Auth"
|
||||||
setup_icon_file: ../../assets/icons/auth-icon.ico
|
setup_icon_file: ../../assets/icons/auth-icon.ico
|
||||||
script_template: inno_setup.iss
|
script_template: inno_setup.iss
|
||||||
locales:
|
locales:
|
||||||
|
|
|
@ -90,12 +90,12 @@ BEGIN
|
||||||
BLOCK "040904e4"
|
BLOCK "040904e4"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Ente Technologies, Inc." "\0"
|
VALUE "CompanyName", "Ente Technologies, Inc." "\0"
|
||||||
VALUE "FileDescription", "ente Auth" "\0"
|
VALUE "FileDescription", "Ente Auth" "\0"
|
||||||
VALUE "FileVersion", VERSION_AS_STRING "\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 "LegalCopyright", "Copyright (C) 2024 Ente Technologies, Inc.. All rights reserved." "\0"
|
||||||
VALUE "OriginalFilename", "auth.exe" "\0"
|
VALUE "OriginalFilename", "auth.exe" "\0"
|
||||||
VALUE "ProductName", "ente Auth" "\0"
|
VALUE "ProductName", "Ente Auth" "\0"
|
||||||
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
|
@ -49,7 +49,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
||||||
_In_ wchar_t *command_line, _In_ int show_command)
|
_In_ wchar_t *command_line, _In_ int show_command)
|
||||||
{
|
{
|
||||||
// [app_links]
|
// [app_links]
|
||||||
if (SendAppLinkToInstance(L"ente Auth"))
|
if (SendAppLinkToInstance(L"Ente Auth"))
|
||||||
{
|
{
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
||||||
FlutterWindow window(project);
|
FlutterWindow window(project);
|
||||||
Win32Window::Point origin(10, 10);
|
Win32Window::Point origin(10, 10);
|
||||||
Win32Window::Size size(1280, 720);
|
Win32Window::Size size(1280, 720);
|
||||||
if (!window.Create(L"ente Auth", origin, size))
|
if (!window.Create(L"Ente Auth", origin, size))
|
||||||
{
|
{
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue