Example #1
0
    def __init__(self, architecture=Packager.ARCH_64):
        Packager.__init__(self)
        self.architecture = architecture
        self.installer_path = self.installer_folder + os.sep + "debian_{}".format(
            architecture)
        self.installer_offline_path = self.installer_folder + os.sep + "debian_{}Offline".format(
            architecture)

        self.installer_creation_path = join(
            self.web2board_path,
            "deb_web2board_{}_{}".format(architecture, self.version))
        self.installer_creation_name = os.path.basename(
            self.installer_creation_path)
        self.installer_creation_executables_path = join(
            self.installer_creation_path, "executables")
        self.installer_creation_dist_path = join(self.installer_creation_path,
                                                 "opt", "web2board")

        self.pkg_platform_path = join(self.pkg_path, "linux")
        self.res_platform_path = join(self.res_path, "linux")
        self.web2board_executable_name = "web2board"
        self.web2board_spec_path = join(self.web2board_path,
                                        "web2board-linux.spec")

        self.package_debian_metadata_path = join(self.installer_creation_path,
                                                 "DEBIAN")
        self.debian_metadata_path = join(self.pkg_platform_path, "debian")
        with open(self.packager_res_path + os.sep +
                  "Web2Board-template.desktop") as desktopFile:
            self.Web2BoardDesktopTemplate = desktopFile.read()
Example #2
0
    def __init__(self):
        Packager.__init__(self)

        self.installer_path = self.installer_folder + os.sep + "darwin"
        self.installer_offline_path = self.installer_folder + os.sep + "darwinOffline"
        self.installer_creation_path = self.web2board_path + os.sep + "darwin_web2board_{}".format(
            self.version)
        self.installer_creation_dist_path = os.path.join(
            self.installer_creation_path, "dist")
        self.installerCreationAppPath = os.path.join(
            self.installer_creation_dist_path, 'web2boardLink.app')
        self.installer_creation_name = os.path.basename(
            self.installer_creation_path)
        self.installer_creation_executables_path = os.path.join(
            self.installer_creation_path, "executables")
        self.pkg_platform_path = os.path.join(self.pkg_path, "darwin")
        self.res_platform_path = os.path.join(self.res_path, "darwin")

        self.web2board_executable_name = "web2boardLink.app"
        self.web2board_spec_path = os.path.join(self.web2board_path,
                                                "web2board-mac.spec")

        self.pkgprojPath = os.path.join(self.installer_creation_path,
                                        "create-mpkg", "web2board",
                                        "web2board.pkgproj")
        self.installer_background_path = os.path.join(
            self.res_platform_path, "installer_background.jpg")
        self.licensePath = os.path.join(self.web2board_path, "LICENSE.txt")

        self.app_resources_path = os.path.join(self.installerCreationAppPath,
                                               "Contents", "MacOS", "res")
        self.info_plist_path = os.path.join(self.web2board_path, "info.plist")
        self.info_plist_path_dst = os.path.join(self.installerCreationAppPath,
                                                "Contents", "info.plist")
Example #3
0
 def __init__(self):
     Packager.__init__(self)
     self.installer_path = self.installer_folder + os.sep + "win32"
     self.installer_offline_path = self.installer_folder + os.sep + "win32Offline"
     self.installer_creation_path = self.web2board_path + os.sep + "win_web2board_{}".format(self.version)
     self.installer_creation_name = os.path.basename(self.installer_creation_path)
     self.installer_creation_dist_path = join(self.installer_creation_path, "dist")
     self.installer_creation_executables_path = join(self.installer_creation_path, "executables")
     self.pkg_platform_path = join(self.pkg_path, "win32")
     self.res_platform_path = join(self.res_path, "windows")
     self.web2board_executable_name = "web2board.exe"
     self.sconsExecutableName = "sconsScript.exe"
Example #4
0
 def __init__(self):
     Packager.__init__(self)
     self.installer_path = self.installer_folder + os.sep + "win32"
     self.installer_offline_path = self.installer_folder + os.sep + "win32Offline"
     self.installer_creation_path = self.web2board_path + os.sep + "win_web2board_{}".format(
         self.version)
     self.installer_creation_name = os.path.basename(
         self.installer_creation_path)
     self.installer_creation_dist_path = join(self.installer_creation_path,
                                              "dist")
     self.installer_creation_executables_path = join(
         self.installer_creation_path, "executables")
     self.pkg_platform_path = join(self.pkg_path, "win32")
     self.res_platform_path = join(self.res_path, "windows")
     self.web2board_executable_name = "web2board.exe"
     self.sconsExecutableName = "sconsScript.exe"
Example #5
0
    def __init__(self, architecture=Packager.ARCH_64):
        Packager.__init__(self)
        self.architecture = architecture
        self.installer_path = self.installer_folder + os.sep + "debian_{}".format(architecture)
        self.installer_offline_path = self.installer_folder + os.sep + "debian_{}Offline".format(architecture)

        self.installer_creation_path = join(self.web2board_path,
                                            "deb_web2board_{}_{}".format(architecture, self.version))
        self.installer_creation_name = os.path.basename(self.installer_creation_path)
        self.installer_creation_executables_path = join(self.installer_creation_path, "executables")
        self.installer_creation_dist_path = join(self.installer_creation_path, "opt", "web2board")

        self.pkg_platform_path = join(self.pkg_path, "linux")
        self.res_platform_path = join(self.res_path, "linux")
        self.web2board_executable_name = "web2board"
        self.web2board_spec_path = join(self.web2board_path, "web2board-linux.spec")

        self.package_debian_metadata_path = join(self.installer_creation_path, "DEBIAN")
        self.debian_metadata_path = join(self.pkg_platform_path, "debian")
        with open(self.packager_res_path + os.sep + "Web2Board-template.desktop") as desktopFile:
            self.Web2BoardDesktopTemplate = desktopFile.read()
Example #6
0
    def __init__(self):
        Packager.__init__(self)

        self.installer_path = self.installer_folder + os.sep + "darwin"
        self.installer_offline_path = self.installer_folder + os.sep + "darwinOffline"
        self.installer_creation_path = self.web2board_path + os.sep + "darwin_web2board_{}".format(self.version)
        self.installer_creation_dist_path = os.path.join(self.installer_creation_path, "dist")
        self.installerCreationAppPath = os.path.join(self.installer_creation_dist_path, 'web2boardLink.app')
        self.installer_creation_name = os.path.basename(self.installer_creation_path)
        self.installer_creation_executables_path = os.path.join(self.installer_creation_path, "executables")
        self.pkg_platform_path = os.path.join(self.pkg_path, "darwin")
        self.res_platform_path = os.path.join(self.res_path, "darwin")

        self.web2board_executable_name = "web2boardLink.app"
        self.web2board_spec_path = os.path.join(self.web2board_path, "web2board-mac.spec")

        self.pkgprojPath = os.path.join(self.installer_creation_path, "create-mpkg", "web2board", "web2board.pkgproj")
        self.installer_background_path = os.path.join(self.res_platform_path, "installer_background.jpg")
        self.licensePath = os.path.join(self.web2board_path, "LICENSE.txt")

        self.app_resources_path = os.path.join(self.installerCreationAppPath, "Contents", "MacOS", "res")
        self.info_plist_path = os.path.join(self.web2board_path, "info.plist")
        self.info_plist_path_dst = os.path.join(self.installerCreationAppPath, "Contents", "info.plist")
Example #7
0
 def __init__(self):
     Packager.__init__(self)