summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/CustomPathOverride.tsx4
-rw-r--r--src/components/InstalledGamesSection.tsx8
-rw-r--r--src/components/ResultDisplay.tsx4
-rw-r--r--src/components/SteamGamePatcher.tsx8
-rw-r--r--src/utils/constants.ts8
5 files changed, 15 insertions, 17 deletions
diff --git a/src/components/CustomPathOverride.tsx b/src/components/CustomPathOverride.tsx
index 14a0905..4effc6c 100644
--- a/src/components/CustomPathOverride.tsx
+++ b/src/components/CustomPathOverride.tsx
@@ -239,9 +239,7 @@ export const ManualPatchControls = ({ isAvailable, onManualModeChange, dllName }
<Field
label="Picker error"
description={pickerState.lastError}
- >
- ⚠️
- </Field>
+ />
</PanelSectionRow>
)}
diff --git a/src/components/InstalledGamesSection.tsx b/src/components/InstalledGamesSection.tsx
index 71278d7..04d653b 100644
--- a/src/components/InstalledGamesSection.tsx
+++ b/src/components/InstalledGamesSection.tsx
@@ -42,14 +42,14 @@ export function InstalledGamesSection() {
<ConfirmModal
strTitle={`Enable Frame Generation for ${selectedGame.name}?`}
strDescription={
- "⚠️ Important: This plugin does not automatically unpatch games when uninstalled. If you uninstall this plugin or experience game issues, use the 'Disable Frame Generation' option or verify game file integrity through Steam."
+ "Important: This plugin does not automatically unpatch games when uninstalled. If you uninstall this plugin or experience game issues, use the 'Disable Frame Generation' option or verify game file integrity through Steam."
}
strOKButtonText="Enable Frame Generation"
strCancelButtonText="Cancel"
onOK={async () => {
try {
await SteamClient.Apps.SetAppLaunchOptions(selectedGame.appid, '~/fgmod/fgmod %COMMAND%');
- setResult(`✓ Frame generation enabled for ${selectedGame.name}. Launch the game, enable DLSS in graphics settings, then press Insert to access OptiScaler options.`);
+ setResult(`Frame generation enabled for ${selectedGame.name}. Launch the game, enable DLSS in graphics settings, then press Insert to access OptiScaler options.`);
} catch (error) {
logError('handlePatchClick: ' + String(error));
setResult(error instanceof Error ? `Error: ${error.message}` : 'Error enabling frame generation');
@@ -64,7 +64,7 @@ export function InstalledGamesSection() {
try {
await SteamClient.Apps.SetAppLaunchOptions(selectedGame.appid, '~/fgmod/fgmod-uninstaller.sh %COMMAND%');
- setResult(`✓ Frame generation will be disabled on next launch of ${selectedGame.name}.`);
+ setResult(`Frame generation will be disabled on next launch of ${selectedGame.name}.`);
} catch (error) {
logError('handleUnpatchClick: ' + String(error));
setResult(error instanceof Error ? `Error: ${error.message}` : 'Error disabling frame generation');
@@ -96,7 +96,7 @@ export function InstalledGamesSection() {
...STYLES.preWrap,
...(result.includes('Error') ? STYLES.statusNotInstalled : STYLES.statusInstalled)
}}>
- {result.includes('Error') ? '❌' : '✅'} {result}
+ {result}
</div>
</PanelSectionRow>
) : null}
diff --git a/src/components/ResultDisplay.tsx b/src/components/ResultDisplay.tsx
index bcd66c0..b54e41d 100644
--- a/src/components/ResultDisplay.tsx
+++ b/src/components/ResultDisplay.tsx
@@ -19,13 +19,13 @@ export const ResultDisplay: FC<ResultDisplayProps> = ({ result }) => {
<div style={isSuccess ? STYLES.statusInstalled : STYLES.statusNotInstalled}>
{isSuccess ? (
<>
- ✅ {result.output?.includes("uninstall") || result.output?.includes("remov")
+ {result.output?.includes("uninstall") || result.output?.includes("remov")
? "OptiScaler mod removed successfully"
: "OptiScaler mod installed successfully"}
</>
) : (
<>
- ❌ <strong>Error:</strong> {result.message || "Operation failed"}
+ <strong>Error:</strong> {result.message || "Operation failed"}
</>
)}
{result.output && !isSuccess && (
diff --git a/src/components/SteamGamePatcher.tsx b/src/components/SteamGamePatcher.tsx
index 5947f01..06c373c 100644
--- a/src/components/SteamGamePatcher.tsx
+++ b/src/components/SteamGamePatcher.tsx
@@ -159,10 +159,10 @@ export function SteamGamePatcher({ dllName }: SteamGamePatcherProps) {
setSteamLaunchOptions(Number(selectedAppId), targetCommand);
setLaunchOptions(targetCommand);
setResultMessage(
- `✅ Launch options set for ${selectedGame?.name ?? selectedAppId}`
+ `Launch options set for ${selectedGame?.name ?? selectedAppId}`
);
} catch (e) {
- setResultMessage(`❌ ${e instanceof Error ? e.message : String(e)}`);
+ setResultMessage(`Error: ${e instanceof Error ? e.message : String(e)}`);
} finally {
setBusy(false);
}
@@ -176,10 +176,10 @@ export function SteamGamePatcher({ dllName }: SteamGamePatcherProps) {
setSteamLaunchOptions(Number(selectedAppId), stripped);
setLaunchOptions(stripped);
setResultMessage(
- `✅ Removed fgmod from ${selectedGame?.name ?? selectedAppId}`
+ `Removed fgmod from ${selectedGame?.name ?? selectedAppId}`
);
} catch (e) {
- setResultMessage(`❌ ${e instanceof Error ? e.message : String(e)}`);
+ setResultMessage(`Error: ${e instanceof Error ? e.message : String(e)}`);
} finally {
setBusy(false);
}
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index 64b98c4..7fa6970 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -67,14 +67,14 @@ export const TIMEOUTS = {
// Message strings
export const MESSAGES = {
- modInstalled: "✅ OptiScaler Mod Installed",
- modNotInstalled: "❌ OptiScaler Mod Not Installed",
+ modInstalled: "OptiScaler Mod Installed",
+ modNotInstalled: "OptiScaler Mod Not Installed",
installing: "Installing OptiScaler...",
installButton: "Setup OptiScaler Mod",
uninstalling: "Removing OptiScaler...",
uninstallButton: "Remove OptiScaler Mod",
- installSuccess: "✅ OptiScaler mod setup successfully!",
- uninstallSuccess: "✅ OptiScaler mod removed successfully.",
+ installSuccess: "OptiScaler mod setup successfully!",
+ uninstallSuccess: "OptiScaler mod removed successfully.",
instructionTitle: "How to Use:",
instructionText: "Click 'Copy Patch Command' or 'Copy Unpatch Command', then go to your game's properties, and paste the command into the Launch Options field.\n\nIn-game: Enable DLSS in graphics settings to unlock FSR 3.1/XeSS 2.0 in DirectX12 Games.\n\nFor extended OptiScaler options, assign a back button to a keyboard's 'Insert' key."
};