   building_root = path.join build_root, "building_#{poi_version}"
   release_dir = path.join build_root, release_dir_name
 
-  stage1_app = path.join building_root, 'stage1'
-  stage2_app = path.join building_root, 'app'
-
-  theme_root = path.join stage1_app, 'assets', 'themes'
-
-  try
-    fs.removeSync stage1_app
-    fs.removeSync stage2_app
-  catch e
-  fs.ensureDirSync stage1_app
-  fs.ensureDirSync stage2_app
 
   # Check npm version
   npm_version = (yield runScriptReturnStdoutAsync npm_exec_path, ['--version']).trim()

      log 'Compiling ended'
      resolve(yield Promise.all tasks)

packageAppAsync = async (poi_version, app_dir, release_dir) ->
  log "Packaging app.asar."
  release_path = path.join(release_dir, "app-#{poi_version}", "app.asar")
  try
    yield fs.removeAsync release_path
  catch e
  yield packageAsarAsync app_dir, release_path
  release_path

packageReleaseAsync = async (poi_fullname, electron_dir, release_dir) ->

    log "Aborted."
    return

  app_path = yield packageAppAsync poi_version, building_root, release_dir

  # Prepare stage 3
  stage3_info = yield Promise.all (
