mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 11:14:17 +00:00
Add / to the unix shortcut drive list
Also made `get_current_drive()` to pick the longest match on Unix.
This commit is contained in:
parent
1930fc8b31
commit
67f04b381b
3 changed files with 25 additions and 2 deletions
|
|
@ -63,6 +63,7 @@ public:
|
|||
|
||||
virtual int get_drive_count();
|
||||
virtual String get_drive(int p_drive);
|
||||
virtual int get_current_drive();
|
||||
virtual bool drives_are_shortcuts();
|
||||
|
||||
virtual Error change_dir(String p_dir); ///< can be relative or absolute, return false on success
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue