Skip to content

Commit

Permalink
Fix gfxstream_backend.dll not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
alesimula committed Dec 29, 2021
1 parent 8db4c70 commit 8145514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/apk_installer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class _ApkInstallerState extends State<ApkInstaller> {

if (autostartWSA) {
startingWSA = true;
Process.run(Env.WSA_EXECUTABLE, []).onError((_, __){
Process.run(Env.WSA_EXECUTABLE, [], workingDirectory: Env.WSA_SYSTEM_PATH).onError((_, __){
setState(() {startingWSA = false;});
return ProcessResult(-1, -1, null, null);
});
Expand Down
2 changes: 1 addition & 1 deletion lib/screens/wsa.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class _ScreenWSAState extends State<ScreenWSA> {
content: Wrap(crossAxisAlignment: WrapCrossAlignment.center, children: [
Text(connectionStatus.desc),
const SizedBox(width: 15.0),
if (connectionStatus.type == ConnectionStatus.ARRESTED) Button(child: const Text("Turn on"), onPressed: () => Process.run(Env.WSA_EXECUTABLE, []))
if (connectionStatus.type == ConnectionStatus.ARRESTED) Button(child: const Text("Turn on"), onPressed: () => Process.run(Env.WSA_EXECUTABLE, [], workingDirectory: Env.WSA_SYSTEM_PATH))
]),
isLong: true,
severity: connectionStatus.severity,
Expand Down

0 comments on commit 8145514

Please sign in to comment.