Skip to content

Instantly share code, notes, and snippets.

@vbashiri
vbashiri / BuildApksAndInstall.sh
Created July 9, 2023 12:46
Build Apks file from Android App Bundle and install it
#!/bin/sh
bundle_address=$1 //Bundle-tool address
keystore_address=$2
keystore_alias=$3
keystore_password=$4
input_name=$5
folder=$PWD
echo Start building apks...
@vbashiri
vbashiri / AssetDeliveryExtension.cs
Created July 8, 2023 14:58
AssetDeliveryExtension
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Object = UnityEngine.Object;
using Google.Play.AssetDelivery;
public class AssetDeliveryExtension
{
using UnityEditor;
using System.IO;
public class BuildAssetBundles
{
[MenuItem("Assets/Build AssetBundles")]
static void BuildAllAssetBundles()
{
string assetBundleDirectory = "Assets/AssetBundles";
if(!Directory.Exists(assetBundleDirectory))