Cleanup instances of "friendica" being used in app/resource names

This commit is contained in:
Hank Grabowski 2022-03-23 14:37:14 -04:00
parent 785bf6cb71
commit 00f6f9bcd2
12 changed files with 28 additions and 28 deletions

View file

@ -10,14 +10,14 @@ import 'src/settings/settings_controller.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
final logPath = await setupLogging();
Logger.root.info('Starting Friendica Archive Browser');
Logger.root.info('Starting Fediverse Archive Browser');
final settingsController = SettingsController(logPath: logPath);
await settingsController.loadSettings();
runApp(FriendicaArchiveBrowser(settingsController: settingsController));
runApp(FediverseArchiveBrowser(settingsController: settingsController));
}
Future<String> setupLogging() async {
final logFilePath = await getTempFile('friendica_archive_browser_', '.log');
final logFilePath = await getTempFile('fediverse_archive_browser', '.log');
final logFile = File(logFilePath);
Logger.root.level = Level.ALL;
Logger.root.onRecord.listen((event) {

View file

@ -11,10 +11,10 @@ import 'home.dart';
import 'settings/settings_controller.dart';
/// The Widget that configures your application.
class FriendicaArchiveBrowser extends StatelessWidget {
class FediverseArchiveBrowser extends StatelessWidget {
static const minAppSize = Size(915, 700);
const FriendicaArchiveBrowser({
const FediverseArchiveBrowser({
Key? key,
required this.settingsController,
}) : super(key: key);
@ -44,8 +44,8 @@ class FriendicaArchiveBrowser extends StatelessWidget {
],
onGenerateTitle: (BuildContext context) =>
AppLocalizations.of(context)!.appTitle,
theme: FriendicaArchiveBrowserTheme.light,
darkTheme: FriendicaArchiveBrowserTheme.dark,
theme: FediverseArchiveBrowserTheme.light,
darkTheme: FediverseArchiveBrowserTheme.dark,
themeMode: settingsController.themeMode,
scrollBehavior: AppScrollingBehavior(),
home: MultiProvider(

View file

@ -1,6 +1,6 @@
{
"appTitle": "Friendica Archive Browser",
"appTitle": "Fediverse Archive Browser",
"@appTitle": {
"description": "A browser of Friendica Archive Folders"
"description": "A browser of Fediverse Archive Sets"
}
}

View file

@ -71,7 +71,7 @@ class _MediaSlideShowScreenState extends State<MediaSlideShowScreen> {
final height = MediaQuery.of(context).size.height - toolBarHeight;
return Theme(
data: FriendicaArchiveBrowserTheme.darkroom,
data: FediverseArchiveBrowserTheme.darkroom,
child: KeyboardListener(
focusNode: FocusNode(),
autofocus: true,

View file

@ -178,7 +178,7 @@ class _SettingsViewState extends State<SettingsView> {
controller: _folderPathController,
decoration: InputDecoration(
hintText:
'Root folder of the unzipped Friendica archive file',
'Root folder of the unzipped archive folder',
errorText: _invalidFolderString,
))),
const SizedBox(width: 15),

View file

@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
class FriendicaArchiveBrowserTheme {
class FediverseArchiveBrowserTheme {
static ThemeData dark = ThemeData.dark().copyWith(
primaryColor: Colors.white,
);

View file

@ -1,8 +1,8 @@
cmake_minimum_required(VERSION 3.10)
project(runner LANGUAGES CXX)
set(BINARY_NAME "friendica_archive_browser")
set(APPLICATION_ID "social.myportal.friendica_archive_browser")
set(BINARY_NAME "fediverse_archive_browser")
set(APPLICATION_ID "social.myportal.fediverse_archive_browser")
cmake_policy(SET CMP0063 NEW)

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 /* FriendicaArchiveBrowser.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Friendica Archive Browser.app"; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10ED2044A3C60003C045 /* FediverseArchiveBrowser.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Fediverse Archive Browser.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>"; };
@ -123,7 +123,7 @@
33CC10EE2044A3C60003C045 /* Products */ = {
isa = PBXGroup;
children = (
33CC10ED2044A3C60003C045 /* FriendicaArchiveBrowser.app */,
33CC10ED2044A3C60003C045 /* FediverseArchiveBrowser.app */,
);
name = Products;
sourceTree = "<group>";
@ -194,7 +194,7 @@
);
name = Runner;
productName = Runner;
productReference = 33CC10ED2044A3C60003C045 /* FriendicaArchiveBrowser.app */;
productReference = 33CC10ED2044A3C60003C045 /* FediverseArchiveBrowser.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

View file

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

View file

@ -13,7 +13,7 @@
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="friendica_archive_browser" customModuleProvider="target">
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="fediverse_archive_browser" customModuleProvider="target">
<connections>
<outlet property="applicationMenu" destination="uQy-DD-JDr" id="XBo-yE-nKs"/>
<outlet property="mainFlutterWindow" destination="QvC-M9-y7g" id="gIp-Ho-8D9"/>
@ -326,7 +326,7 @@
</items>
<point key="canvasLocation" x="142" y="-258"/>
</menu>
<window title="APP_NAME" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g" customClass="MainFlutterWindow" customModule="friendica_archive_browser" customModuleProvider="target">
<window title="APP_NAME" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g" customClass="MainFlutterWindow" customModule="fediverse_archive_browser" customModuleProvider="target">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<rect key="contentRect" x="0.0" y="175" width="915" height="700"/>
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="875"/>

View file

@ -5,10 +5,10 @@
// 'flutter create' template.
// The application's name. By default this is also the title of the Flutter window.
PRODUCT_NAME = friendica_archive_browser
PRODUCT_NAME = fediverse_archive_browser
// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = social.myportal.friendica_archive_browser
PRODUCT_BUNDLE_IDENTIFIER = social.myportal.fediverse_archive_browser
// The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright © 2021 Hank G. All rights reserved.
PRODUCT_COPYRIGHT = Copyright © 2021 My Social Portal All rights reserved.

View file

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.15)
project(friendica_archive_browser LANGUAGES CXX)
project(fediverse_archive_browser LANGUAGES CXX)
set(BINARY_NAME "friendica_archive_browser")
set(BINARY_NAME "fediverse_archive_browser")
cmake_policy(SET CMP0063 NEW)