fix long usernames not working and finish rename

This commit is contained in:
zoe 2022-08-06 16:50:30 +02:00
parent ceb9c3922f
commit 517ef59af7
29 changed files with 76 additions and 73 deletions

View File

@ -44,7 +44,7 @@ android {
defaultConfig { defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.slothmu" applicationId "com.example.loris"
// You can update the following values to match your application needs. // You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion flutter.minSdkVersion minSdkVersion flutter.minSdkVersion

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.slothmu"> package="com.example.loris">
<!-- The INTERNET permission is required for development. Specifically, <!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.

View File

@ -1,7 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.slothmu"> package="com.example.loris">
<application <application
android:label="slothmu" android:label="loris"
android:name="${applicationName}" android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"> android:icon="@mipmap/ic_launcher">
<activity <activity

View File

@ -1,4 +1,4 @@
package com.example.slothmu package com.example.loris
import io.flutter.embedding.android.FlutterActivity import io.flutter.embedding.android.FlutterActivity

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.slothmu"> package="com.example.loris">
<!-- The INTERNET permission is required for development. Specifically, <!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.

View File

@ -294,7 +294,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.example.slothmu; PRODUCT_BUNDLE_IDENTIFIER = com.example.loris;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
@ -422,7 +422,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.example.slothmu; PRODUCT_BUNDLE_IDENTIFIER = com.example.loris;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@ -444,7 +444,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.example.slothmu; PRODUCT_BUNDLE_IDENTIFIER = com.example.loris;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;

View File

@ -13,7 +13,7 @@
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>slothmu</string> <string>loris</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>

View File

@ -43,7 +43,7 @@ Response readAuthcode(Request request) {
return Response(308, return Response(308,
headers: {"Content-Type": "text/html; charset=UTF-8"}, headers: {"Content-Type": "text/html; charset=UTF-8"},
body: body:
"<html><head><meta http-equiv='Refresh' content='0; URL=https://git.kittycat.homes/zoe/slothmu'></head></html>"); "<html><head><meta http-equiv='Refresh' content='0; URL=https://git.kittycat.homes/zoe/loris'></head></html>");
} }
// returns status code // returns status code

View File

@ -1,7 +1,7 @@
import 'dart:convert'; import 'dart:convert';
import 'package:http/http.dart' as http; import 'package:http/http.dart' as http;
import 'package:slothmu/business_logic/account/account.dart'; import 'package:loris/business_logic/account/account.dart';
import 'package:slothmu/business_logic/timeline/media.dart'; import 'package:loris/business_logic/timeline/media.dart';
import '../settings.dart' as settings; import '../settings.dart' as settings;
import '../../global.dart' as global; import '../../global.dart' as global;

View File

@ -3,7 +3,7 @@ import 'package:flutter/painting.dart';
const String name = "loris"; const String name = "loris";
const String version = "v0.1 'is this thing on'"; const String version = "v0.1 'is this thing on'";
const String useragent = "$name/$version"; const String useragent = "$name/$version";
const String website = "https://git.kittycat.homes/zoe/slothmu"; const String website = "https://git.kittycat.homes/zoe/loris";
const String legalese = "todo"; const String legalese = "todo";
const Map<String, String> defaultHeaders = { const Map<String, String> defaultHeaders = {

View File

@ -1,5 +1,5 @@
{ {
"greeting": "hello!", "greeting": "hello! welcome to loris",
"instance-url": "instance url", "instance-url": "instance url",
"instance-url-example": "example.com", "instance-url-example": "example.com",
"authorize-in-browser": "authorize in browser", "authorize-in-browser": "authorize in browser",

View File

@ -1,7 +1,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:intl/intl.dart'; import 'package:intl/intl.dart';
import 'package:localization/localization.dart'; import 'package:localization/localization.dart';
import 'package:slothmu/partials/main_scaffold.dart'; import 'package:loris/partials/main_scaffold.dart';
import 'pages/login.dart'; import 'pages/login.dart';
import 'business_logic/settings.dart' as settings; import 'business_logic/settings.dart' as settings;
import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:flutter_localizations/flutter_localizations.dart';
@ -24,17 +24,17 @@ void main() async {
} else { } else {
await oauth.refreshToken(); await oauth.refreshToken();
} }
runApp(const Slothmu()); runApp(const Loris());
} }
class Slothmu extends StatefulWidget { class Loris extends StatefulWidget {
const Slothmu({Key? key}) : super(key: key); const Loris({Key? key}) : super(key: key);
@override @override
State<Slothmu> createState() => _SlothmuState(); State<Loris> createState() => _LorisState();
} }
class _SlothmuState extends State<Slothmu> { class _LorisState extends State<Loris> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
LocalJsonLocalization.delegate.directories = ['lib/i18n']; LocalJsonLocalization.delegate.directories = ['lib/i18n'];

View File

@ -1,6 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:localization/localization.dart'; import 'package:localization/localization.dart';
import 'package:slothmu/partials/thread.dart'; import 'package:loris/partials/thread.dart';
import '../../business_logic/timeline/timeline.dart' as tl; import '../../business_logic/timeline/timeline.dart' as tl;
class Timeline extends StatefulWidget { class Timeline extends StatefulWidget {

View File

@ -1,10 +1,10 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:localization/localization.dart'; import 'package:localization/localization.dart';
import 'package:slothmu/dialogues/makepost.dart'; import 'package:loris/dialogues/makepost.dart';
import 'package:slothmu/pages/chat/chat.dart'; import 'package:loris/pages/chat/chat.dart';
import 'package:slothmu/pages/notifications/notifications.dart'; import 'package:loris/pages/notifications/notifications.dart';
import 'package:slothmu/pages/timeline/timeline.dart'; import 'package:loris/pages/timeline/timeline.dart';
import 'package:slothmu/pages/settings/settings.dart'; import 'package:loris/pages/settings/settings.dart';
class MainScaffold extends StatefulWidget { class MainScaffold extends StatefulWidget {
const MainScaffold({Key? key}) : super(key: key); const MainScaffold({Key? key}) : super(key: key);

View File

@ -1,6 +1,6 @@
import 'package:flutter/widgets.dart'; import 'package:flutter/widgets.dart';
import 'package:localization/localization.dart'; import 'package:localization/localization.dart';
import 'package:slothmu/business_logic/timeline/media.dart'; import 'package:loris/business_logic/timeline/media.dart';
class MediaAttachments extends StatelessWidget { class MediaAttachments extends StatelessWidget {
const MediaAttachments({required this.models, Key? key}) : super(key: key); const MediaAttachments({required this.models, Key? key}) : super(key: key);
@ -30,7 +30,7 @@ class ImageAttachmentDisplay extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Column(children: [ return Column(children: [
Image.network(model.url), Image.network(model.url, width: double.infinity),
]); ]);
} }
} }

View File

@ -1,8 +1,8 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:localization/localization.dart'; import 'package:localization/localization.dart';
import 'package:slothmu/business_logic/account/account.dart'; import 'package:loris/business_logic/account/account.dart';
import 'package:slothmu/business_logic/timeline/media.dart'; import 'package:loris/business_logic/timeline/media.dart';
import 'package:slothmu/partials/media_attachment.dart'; import 'package:loris/partials/media_attachment.dart';
import '../business_logic/timeline/timeline.dart' as tl; import '../business_logic/timeline/timeline.dart' as tl;
class Post extends StatefulWidget { class Post extends StatefulWidget {
@ -48,19 +48,21 @@ class DisplayName extends StatelessWidget {
url: account.avatar, url: account.avatar,
)), )),
const SizedBox(width: 8), const SizedBox(width: 8),
Column( Flexible(
mainAxisAlignment: MainAxisAlignment.spaceBetween, child: Column(
crossAxisAlignment: CrossAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ crossAxisAlignment: CrossAxisAlignment.start,
Text( children: [
account.displayName, Text(
style: Theme.of(context).textTheme.titleMedium, account.displayName,
), style: Theme.of(context).textTheme.titleMedium,
Text( ),
account.acct, Text(
style: Theme.of(context).textTheme.bodySmall, account.acct,
), style: Theme.of(context).textTheme.bodySmall,
], ),
],
),
), ),
], ],
); );
@ -77,7 +79,8 @@ class ProfilePic extends StatelessWidget {
if (url.isNotEmpty) { if (url.isNotEmpty) {
return Image.network( return Image.network(
url, url,
width: 64, height: width,
width: width,
); );
} else { } else {
return const Icon( return const Icon(

View File

@ -1,5 +1,5 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:slothmu/partials/post.dart'; import 'package:loris/partials/post.dart';
import '../business_logic/timeline/timeline.dart' as logic; import '../business_logic/timeline/timeline.dart' as logic;
class Thread extends StatelessWidget { class Thread extends StatelessWidget {

View File

@ -4,10 +4,10 @@ project(runner LANGUAGES CXX)
# The name of the executable created for the application. Change this to change # The name of the executable created for the application. Change this to change
# the on-disk name of your application. # the on-disk name of your application.
set(BINARY_NAME "slothmu") set(BINARY_NAME "loris")
# The unique GTK application identifier for this application. See: # The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID # https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "com.example.slothmu") set(APPLICATION_ID "com.example.loris")
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent # Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake. # versions of CMake.

View File

@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
if (use_header_bar) { if (use_header_bar) {
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, "slothmu"); gtk_header_bar_set_title(header_bar, "loris");
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, "slothmu"); gtk_window_set_title(window, "loris");
} }
gtk_window_set_default_size(window, 1280, 720); gtk_window_set_default_size(window, 1280, 720);

View File

@ -54,7 +54,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 /* slothmu.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "slothmu.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 33CC10ED2044A3C60003C045 /* loris.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "loris.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>"; };
@ -105,7 +105,7 @@
33CC10EE2044A3C60003C045 /* Products */ = { 33CC10EE2044A3C60003C045 /* Products */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
33CC10ED2044A3C60003C045 /* slothmu.app */, 33CC10ED2044A3C60003C045 /* loris.app */,
); );
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
@ -172,7 +172,7 @@
); );
name = Runner; name = Runner;
productName = Runner; productName = Runner;
productReference = 33CC10ED2044A3C60003C045 /* slothmu.app */; productReference = 33CC10ED2044A3C60003C045 /* loris.app */;
productType = "com.apple.product-type.application"; productType = "com.apple.product-type.application";
}; };
/* End PBXNativeTarget section */ /* End PBXNativeTarget section */

View File

@ -15,7 +15,7 @@
<BuildableReference <BuildableReference
BuildableIdentifier = "primary" BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045" BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "slothmu.app" BuildableName = "loris.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 = "slothmu.app" BuildableName = "loris.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 = "slothmu.app" BuildableName = "loris.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 = "slothmu.app" BuildableName = "loris.app"
BlueprintName = "Runner" BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj"> ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference> </BuildableReference>

View File

@ -5,10 +5,10 @@
// '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 = slothmu PRODUCT_NAME = loris
// The application's bundle identifier // The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.example.slothmu PRODUCT_BUNDLE_IDENTIFIER = com.example.loris
// The copyright displayed in application information // The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright © 2022 com.example. All rights reserved. PRODUCT_COPYRIGHT = Copyright © 2022 com.example. All rights reserved.

View File

@ -1,4 +1,4 @@
name: slothmu name: loris
description: A new Flutter project. description: A new Flutter project.
# The following line prevents the package from being accidentally published to # The following line prevents the package from being accidentally published to

View File

@ -1,5 +1,5 @@
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
import 'package:slothmu/business_logic/user.dart'; import 'package:loris/business_logic/user.dart';
void main() { void main() {
validUsernameTest(); validUsernameTest();

View File

@ -23,13 +23,13 @@
<!-- iOS meta tags & icons --> <!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="slothmu"> <meta name="apple-mobile-web-app-title" content="loris">
<link rel="apple-touch-icon" href="icons/Icon-192.png"> <link rel="apple-touch-icon" href="icons/Icon-192.png">
<!-- Favicon --> <!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/> <link rel="icon" type="image/png" href="favicon.png"/>
<title>slothmu</title> <title>loris</title>
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
<script> <script>

View File

@ -1,6 +1,6 @@
{ {
"name": "slothmu", "name": "loris",
"short_name": "slothmu", "short_name": "loris",
"start_url": ".", "start_url": ".",
"display": "standalone", "display": "standalone",
"background_color": "#0175C2", "background_color": "#0175C2",

View File

@ -1,10 +1,10 @@
# Project-level configuration. # Project-level configuration.
cmake_minimum_required(VERSION 3.14) cmake_minimum_required(VERSION 3.14)
project(slothmu LANGUAGES CXX) project(loris LANGUAGES CXX)
# The name of the executable created for the application. Change this to change # The name of the executable created for the application. Change this to change
# the on-disk name of your application. # the on-disk name of your application.
set(BINARY_NAME "slothmu") set(BINARY_NAME "loris")
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent # Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake. # versions of CMake.

View File

@ -90,12 +90,12 @@ BEGIN
BLOCK "040904e4" BLOCK "040904e4"
BEGIN BEGIN
VALUE "CompanyName", "com.example" "\0" VALUE "CompanyName", "com.example" "\0"
VALUE "FileDescription", "slothmu" "\0" VALUE "FileDescription", "loris" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0" VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "slothmu" "\0" VALUE "InternalName", "loris" "\0"
VALUE "LegalCopyright", "Copyright (C) 2022 com.example. All rights reserved." "\0" VALUE "LegalCopyright", "Copyright (C) 2022 com.example. All rights reserved." "\0"
VALUE "OriginalFilename", "slothmu.exe" "\0" VALUE "OriginalFilename", "loris.exe" "\0"
VALUE "ProductName", "slothmu" "\0" VALUE "ProductName", "loris" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0" VALUE "ProductVersion", VERSION_AS_STRING "\0"
END END
END END

View File

@ -27,7 +27,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.CreateAndShow(L"slothmu", origin, size)) { if (!window.CreateAndShow(L"loris", origin, size)) {
return EXIT_FAILURE; return EXIT_FAILURE;
} }
window.SetQuitOnClose(true); window.SetQuitOnClose(true);