Add support for OS specific version detection

Issue #76 resolved
Juan Pablo Caram repo owner created an issue

No description provided.

Comments (5)

  1. Juan Pablo Caram reporter

    In FlatCAMApp.py:

    if sys.platform == 'win32':
        from win32com.shell import shell, shellcon
        self.data_path = shell.SHGetFolderPath(0, shellcon.CSIDL_APPDATA, None, 0) + \
            '/FlatCAM'
        self.os = 'windows'
    else:  # Linux/Unix/MacOS
        self.data_path = os.path.expanduser('~') + '/.FlatCAM'
        self.os = 'unix'
    
  2. Log in to comment