Exemplo n.º 1
0
    def getPublicRootKeyPath() -> str:
        """It is assumed that the application will have a 'master' public key.

        :return: Path to the 'master' public key of this application.
        """

        from UM.Application import Application
        return os.path.abspath(
            os.path.join(Application.getAppFolderPrefix(), "public_key.pem"))
Exemplo n.º 2
0
 def getPublicRootKeyPath() -> str:
     from UM.Application import Application
     return os.path.abspath(
         os.path.join(Application.getAppFolderPrefix(), "public_key.pem"))