quickemu-project / quickgui

An elegant virtual machine manager for the desktop
MIT License
950 stars 75 forks source link

bug: Error in terminal on first use #217

Open VorpalBlade opened 1 week ago

VorpalBlade commented 1 week ago

I confirm this bug has not already been reported

Describe the bug

❯ ./quickgui-1.2.10+1-linux.AppImage
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): null is not a String or Directory
#0      _Directory.current= (dart:io/directory_impl.dart:56)
#1      Directory.current= (dart:io/directory.dart:174)
#2      _DownloaderMenuState.build.<anonymous closure>.<anonymous closure> (package:quickgui/src/widgets/home_page/downloader_menu.dart:61)
#3      State.setState (package:flutter/src/widgets/framework.dart:1203)
#4      _DownloaderMenuState.initState.<anonymous closure> (package:quickgui/src/widgets/home_page/downloader_menu.dart:24)
#5      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:847)
#6      Future._propagateToListeners (dart:async/future_impl.dart:876)
#7      Future._completeWithValue (dart:async/future_impl.dart:652)
<asynchronous suspension>

To Reproduce Steps to reproduce the behavior:

  1. Install Quickemu from Arch Linux AUR
  2. Download AppImage for Quickgui
  3. Launch it for first time (never having used quickemu or quickgui before)
  4. Click "Create new machines"
  5. See error in terminal

Expected behavior No error in terminal

Desktop (please complete the following information):

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.