from typing import NewType

from bottles.backend.logger import Logger  # pyright: reportMissingImports=false
from bottles.backend.wine.wineprogram import WineProgram

logging = Logger()


class WineFile(WineProgram):
    program = "Wine File Explorer"
    command = "winefile"

    def open_path(self, path: str = "C:\\\\"):
        args = path
        return self.launch(args=args, comunicate=True, action_name="open_path")
