修改打包配置文件路径为相对路径

pull/1/head
张萌 3 years ago
parent 10f3122ca6
commit c7f6e77a8a

@ -86,9 +86,9 @@ class FireDialog {
'${alarmModel.oneButtonAlarm!.name}联系方式:${alarmModel.oneButtonAlarm!.tel}\n' '${alarmModel.oneButtonAlarm!.name}联系方式:${alarmModel.oneButtonAlarm!.tel}\n'
'如未能联系到${alarmModel.oneButtonAlarm!.name}。可择情报警'; '如未能联系到${alarmModel.oneButtonAlarm!.name}。可择情报警';
case 4: case 4:
return '${DateUtil.formatDateStr(alarmModel.deviceAlarm!.time, format: DateFormats.zh_y_mo_d_h_m)}\n\n${alarmModel!.clientAlarm!.content}'; return '${DateUtil.formatDateStr(alarmModel.deviceAlarm!.time, format: DateFormats.zh_y_mo_d_h_m)}\n\n${alarmModel.clientAlarm!.content}';
case 5: case 5:
return '注意:\n\n有住户使用了SOS紧急联系报警请及时上门或联系人员前往查看设备号${alarmModel!.elderlyCareEquipmentReminder!.deviceNo}' return '注意:\n\n有住户使用了SOS紧急联系报警请及时上门或联系人员前往查看设备号${alarmModel.elderlyCareEquipmentReminder!.deviceNo}'
'\n\n${alarmModel.elderlyCareEquipmentReminder!.content}'; '\n\n${alarmModel.elderlyCareEquipmentReminder!.content}';
default: default:

@ -0,0 +1,19 @@
class Config {
///
static const String homeDir = '/users/zhangmeng';
///
static const String packageName = 'aku_new_community';
///
static String get buildPath =>
'./build/app/outputs/flutter-apk/app-release.apk';
///
static String get apkDevDir =>
'../team/bee/aku_new_community/dev';
///
static String get apkDir =>
'../team/bee/aku_new_community/release';
}
Loading…
Cancel
Save