修复聚量打包时会无法编译的问题
This commit is contained in:
parent
7f0236370b
commit
4e2efcc143
@ -35,7 +35,7 @@ public class ModifySdkUi extends JFrame{
|
||||
private static final long serialVersionUID = 1L;
|
||||
public ModifySdkUi() {
|
||||
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||
setTitle("\u7B2C\u4E09\u65B9SDK\u4FEE\u6539\u5DE5\u5177v1.4");
|
||||
setTitle("\u7B2C\u4E09\u65B9SDK\u4FEE\u6539\u5DE5\u5177v1.5");
|
||||
// TODO Auto-generated constructor stub
|
||||
userEncrypt=new HashMap<Integer, Boolean>();
|
||||
initView();
|
||||
|
@ -515,9 +515,13 @@ public class AutoRandomAdSDK {
|
||||
} else {
|
||||
tmpName = name;
|
||||
}
|
||||
|
||||
String nName = config.getJSONObject("rename")
|
||||
.getString(tmpName.contains("$") ? tmpName.split("\\$")[0] : tmpName);
|
||||
String nName;
|
||||
if(config.getJSONObject("rename").isNull(tmpName.contains("$") ? tmpName.split("\\$")[0] : tmpName)){
|
||||
nName=name;
|
||||
}else{
|
||||
nName = config.getJSONObject("rename")
|
||||
.getString(tmpName.contains("$") ? tmpName.split("\\$")[0] : tmpName);
|
||||
}
|
||||
if (nName.contains("[random]")) {
|
||||
String tName = Tools.getRandomString(new Random().nextInt(6) + 2);
|
||||
nName = nName.replace("[random]", tName);
|
||||
|
Loading…
Reference in New Issue
Block a user