mehah / otclient

An alternative tibia client for otserv written in C++20 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug g_platform.openDir does not open the correct folder

kojimhojo opened this issue · comments

Priority

Low

Area

  • Data
  • Source
  • Docker
  • Other

What happened?

how to reproduce?
console
g_platform.openDir("%appdata%/otcr")

What OS are you seeing the problem on?

Windows

Code of Conduct

  • I agree to follow this project's Code of Conduct

This issue is stale because it has been open 120 days with no activity.

This is not a bug, with a few minutes of searching on Google, I discovered that the command is this:
g_platform.openDir("shell:AppData\\otcr")

https://www.vbforums.com/showthread.php?529776-RESOLVED-Open-a-folder-in-AppData&s=ac9c924ed1a34817bc5f9ad522d70897&p=3272945&viewfull=1#post3272945