Ignore:
Timestamp:
May 1, 2018 2:54:36 AM (2 years ago)
Author:
meeh <meeh@…>
Branches:
master
Children:
2d15f8e1
Parents:
4e5a2d00
Message:

Major update for the OSX Launcher code. Now it will bundle
installer resources with the fat jar (we add an exclusion list later)
which the base directory will be built(or updated if lacking files) upon
startup of the I2P router. This is done by the OSXDeployment class which
is an extension for the DeployProfile? class written for Mac OS X.

Since the app bundle itself should be R/O, we use ~/Library/I2P as base path,
and continue using ~/Library/Application? Support/i2p as config path. The BB
code will have other paths.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • launchers/build.sbt

    r4e5a2d00 ra3a8ee1  
    2121)
    2222
     23lazy val common = (project in file("common"))
     24  .settings(
     25    commonSettings,
     26    name         := "LauncherCommon"
     27  )
    2328
    2429lazy val browserbundle = (project in file("browserbundle"))
     
    2833    assemblyJarName in assembly := s"${name.value}-${version.value}.jar",
    2934    mainClass in assembly := Some("net.i2p.RouterLauncherApp")
    30   )
     35  ).dependsOn(common)
    3136
    3237lazy val macosx = (project in file("macosx"))
     
    3641    assemblyJarName in assembly := s"${name.value}-${version.value}.jar",
    3742    mainClass in assembly := Some("net.i2p.MacOSXRouterLauncherApp")
    38   )
     43  ).dependsOn(common)
    3944
    4045
    4146lazy val root = (project in file("."))
    42   .aggregate(browserbundle, macosx)
     47  .aggregate(common, browserbundle, macosx)
    4348
    4449scalacOptions in Compile := Seq("-deprecated")
Note: See TracChangeset for help on using the changeset viewer.